-
Notifications
You must be signed in to change notification settings - Fork 704
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
feat(kubernetes) Support Tolerations in Pod spec #1430
base: master
Are you sure you want to change the base?
Conversation
jgramoll
commented
Sep 19, 2019
merge from spinnaker/halyard
Allow adding: kubernetes: tolerations: - effect: NoSchedule key: foobar operator: Equal value: "true"
The following commits need their title changed: Please format your commit title into the form:
This allows us to easily generate changelogs & determine semantic version numbers when cutting releases. You can read more about commit conventions here. |
Thanks for the PR! Isn't it already possible to specify tolerations by setting them under |
So #1396 allowed for specifying tolerations on We only have a taint on one pod (clouddriver) and need to be able to specify the toleration for only that pod. This provides that by updating |
@jgramoll : I think I'm still confused about when you'd want to set this on
to specifically set tolerations for clouddriver. If I'm understanding your above comment correctly, that's what you're trying to do---apply a toleration only to the clouddriver pods, but I may be mis-understanding. The reason I'm asking is that it feels a bit confusing to have two different places to set the tolerations and I want to make sure we're clear about when users should set one vs the other (and document that). Thanks! |
I didn't know that
So my next question is, we currently have
but I couldn't get
to work. I would like to have the settings live side by side. Is |
I'll caveat that I haven't personally tried to set tolerations myself in It looks like So maybe the answer is to make the |
for now i just can do this : |
We have had similar issues. If you use (derivatives of) the Helm chart @Eslamanwar mentions, there are only two ways to control the K8s settings of Spinnaker services:
Unfortunately in both paths it is not possible to set up tolerations. The same accounts for node affinity. Note, tweaking the We now have a hacky workaround using Kyverno mutation policies to modify the K8s resources when the resources are scheduled for modification. |