Skip to content

Add tolerations to kubernetes executor

Description

allow kubernetes executor to set tolerations in addition to label selectors, allowing executors to be run on tainted nodes

Proposal

Add a tolerations key to the kubernetes executor to allow executors to run on tainted nodes. In my environment, I'd like to cordon the nodes off onto their own set of nodes, but I'd also like to prevent common workloads from running on these nodes. I deploy my runners with tolerations, I'd like to do the same with executors.

Links to related issues and merge

https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#taints-and-tolerations-beta-feature

Edited by Jason Yavorsky