-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
helm: configurable nodeSelector and tolerations for all charts #13267
helm: configurable nodeSelector and tolerations for all charts #13267
Conversation
d105a01
to
1779b34
Compare
@seanmwinn do we need to wait before #13259 is merged or we can go ahead with this one? |
13259 also incorporates these changes, however it will be incompatible with this commit. This patch will be great to backport to 1.8 and 1.7 branches. No need to wait. |
@mvisonneau it seems the unit tests are failing |
1779b34
to
44605ed
Compare
indeed @aanm, sorry about that, they should be fixed now! 🤞 |
44605ed
to
111ecd6
Compare
@mvisonneau you can use |
install/kubernetes/cilium/charts/managed-etcd/templates/cilium-etcd-operator-deployment.yaml
Outdated
Show resolved
Hide resolved
111ecd6
to
8b6cd7f
Compare
Indeed, it was much more efficient thanks @sayboras ! 🙇 🙏 |
8b6cd7f
to
05feb3b
Compare
Added configuration options nodeSelector (deployments) and tolerations (daemonsets and deployments) for all the existing charts: - agent - hubble-relay - hubble-ui - managed-etcd - nodeinit - operator - preflight On the preflight one, I also simplified the tolerations with a single 'operator: Exists'. Other than that, the behaviour with default values should remain identical. Initially, my use case was to be able to avoid having the hubble-relay pods running on tainted nodes. I went forward with updating all the charts as I felt this could probably be useful for others. Signed-off-by: Maxime VISONNEAU <maxime.visonneau@gmail.com>
05feb3b
to
ddb6613
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 💯, thanks :)
I'm merging without the full test suite since it only touches the charts. I'll add the backports labels as suggested by Sean in his comment. |
Do we have a strong argument for backporting to v1.7, @seanmwinn ? There are conflicts throughout the patch on that branch and we typically only backport major bugfixes and security-relevant fixes. |
Removing this patch from 1.7 backports. There are a lot of conflicts and it doesn't seem to address a major bug. |
Added configuration options nodeSelector (deployments) and tolerations (daemonsets and deployments)
for all the existing charts:
On the preflight one, I also simplified the tolerations with a single 'operator: Exists'. Other than
that, the behaviour with default values should remain identical.
Initially, my use case was to be able to avoid having the hubble-relay pods running on tainted nodes.
I went forward with updating all the charts as I felt this could probably be useful for others.
Signed-off-by: Maxime VISONNEAU maxime.visonneau@gmail.com