openshift-actions-runner-chart
openshift-actions-runner-chart copied to clipboard
[FEATURE] Add tolerations to tainted nodes
Is your feature request related to a problem? Please describe.
Given multiple nodepools, in order to ensure that ONLY the runners are scheduled to a specific nodepool, it will have to be tainted with preferably a NO_SCHEDULE effect. For kube-scheduler to be able to schedule the runner workloads to that nodepool, the runners will need to have tolerations to the taints.
This is frustrating for us at the moment since our nodepools are being shared by all the workloads in the cluster.
Describe the solution you'd like
- Add
tolerations
to the workloads/deployments so that they can be scheduled on a tainted node(pool).
Describe alternatives you've considered
- I've considered using
nodeAffinity
. But this does not prevent other workloads from being scheduled to the runner nodepools. Which in turn introduces a competition for resources.
Additional context
- N/A