-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to set Tolerations on pods (master & agents) #239
Comments
Yes, thank you, this is another thing we need to address with #196 Also the master pod needs to have this configurable. As for the dynamically created pods it should be possible from the pipeline. |
Good point, the agent config is in the configuration as code plugin, just hadn't gotten there yet since the master can't deploy :) |
As a question- I still can't figure out any way to work around this. Before I decide to uninstall this operator and get this working with the helm chart, is there a workaround that I'm not seeing? |
Tolerations for Jenkins master pod can be set in https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.3.1. We have to wait for #196 to set tolerations for seed job agent and I there is no workaround for this 😢 |
That is an impressive turnaround time! |
In https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.3.3 the tolerations for seed job agent are copied from |
How can this be set ? I have tried adding under master in values.yaml |
That's not the format for tolerations:
|
So what would the equivalent be for the above disk-pressure ? |
believe found it here, https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ `tolerations:
|
works , thanks @pbecotte |
Does an agent have the same toleration parameter as a master, or tolerations work for master only? |
agent configuration goes in the configuration-as-code configmap.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this issue is still affecting you, just comment with any updates and we'll keep it open. Thank you for your contributions. |
duplicate of #808 |
Need to set tolerations on the jenkins master/agent pods- doesn't seem to be a way to do so?
The text was updated successfully, but these errors were encountered: