Skip to content

feat: add node selector and tolerations flags for kubernetes jobs - #973

Open
zapo wants to merge 2 commits into
leg100:masterfrom
Optable:feat/kube-nodeselector-tolerations
Open

feat: add node selector and tolerations flags for kubernetes jobs#973
zapo wants to merge 2 commits into
leg100:masterfrom
Optable:feat/kube-nodeselector-tolerations

Conversation

@zapo

@zapo zapo commented Jul 27, 2026

Copy link
Copy Markdown

Adds --kubernetes-node-selector and --kubernetes-tolerations to the kubernetes executor so run jobs can be scheduled onto a dedicated, tainted node pool instead of anywhere in the cluster.

Changes

  • --kubernetes-node-selector — repeatable name=value, sets PodSpec.NodeSelector.
  • --kubernetes-tolerations — repeatable key[=value]:effect (kubectl-taint syntax; operator is Exists when no value is given, otherwise Equal; empty effect tolerates all effects), sets PodSpec.Tolerations.

zapo added 2 commits July 27, 2026 14:38
Add --kubernetes-node-selector and --kubernetes-tolerations flags so
run jobs can be pinned to a dedicated/tainted node pool. Tolerations
use the kubectl-taint syntax key[=value]:effect (Exists when no value).
Expose the new --kubernetes-node-selector and --kubernetes-tolerations
flags through the otfd and otf-agent helm charts (via the runner
library), regenerate READMEs, bump chart versions, and document the
flags in flags.md and executors.md.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant