Huib Keemink
08/23/2022, 2:09 PMk8s_job_op
respect my tolerations/nodeSelector? I’ve tried to give the job the correct tags, tried setting job_config
but nothing seems to workjohann
08/24/2022, 5:11 PMHuib Keemink
08/24/2022, 8:20 PMsync_solcast_forecast_v1 = k8s_job_op.configured(
{
"image": "REDACTED",
"command": [
"REDACTED"
],
"args": [
"REDACTED"
],
"image_pull_policy": "IfNotPresent",
"env_secrets": ["featurebatches-secret"],
"load_incluster_config": True,
"job_config": {
"spec": {
"template": {
"spec": {
"node_selector": {
"analyticsOnly": True
},
"tolerations": [
{
"key": "analyticsOnly",
"operator": "Exists",
"effect": "NoSchedule"
}
]
}
}
}
},
"image_pull_secrets": [
{"name": 'acr-creds'},
],
"resources": {
"requests": {
"cpu": "0.5",
"memory": "1024Mi"
},
"limits": {
"cpu": "1",
"memory": "2048Mi"
},
}
},
name="sync_solcast_forecast_v1",
)
johann
08/25/2022, 8:54 PMkubectl describe job <name>
doesn’t show any of your config? (can get name from the logs in Dagit, Creating Kubernetes job <>
)daniel
09/06/2022, 10:04 PMHuib Keemink
10/25/2022, 1:26 PM