We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d021b20 commit 8b4c98bCopy full SHA for 8b4c98b
etl-api/src/k8s_client.rs
@@ -360,6 +360,19 @@ impl K8sClient for HttpK8sClient {
360
"emptyDir": {}
361
}
362
],
363
+ // Allow scheduling onto nodes tainted with `nodeType=workloads`.
364
+ "tolerations": [
365
+ {
366
+ "key": "nodeType",
367
+ "operator": "Equal",
368
+ "value": "workloads",
369
+ "effect": "NoSchedule"
370
+ }
371
+ ],
372
+ // Pin pods to nodes labeled with `nodeType=workloads`.
373
+ "nodeSelector": {
374
+ "nodeType": "workloads"
375
+ },
376
// We want to wait at most 60 seconds before K8S sends a `SIGKILL` to the containers.
377
"terminationGracePeriodSeconds": 60,
378
"initContainers": [
0 commit comments