8000 [v1.11] add support to override not ready taint to be ignored by the CA by joestringer · Pull Request #20183 · cilium/cilium · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[v1.11] add support to override not ready taint to be ignored by the CA #20183

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

Merged
merged 1 commit into from
Jun 13, 2022

Conversation

joestringer
Copy link
Member
@joestringer joestringer commented Jun 13, 2022

[ upstream commit c1c9716 ]

[ Backporter's notes: Minor conflicts in values.yaml, go imports ]

If you scale a node pool down to zero nodes the Cluster Autoscaler won't
add new nodes because pending pods don't tolerate the cilium
agent-not-ready taint. If you're managing your own CA you can ignore
the cilium taint with a command line flag on the CA. However if you're
running on managed k8s (e.g. GKE), you may not have access to configure
the CA, and will need to use a custom taint prefix to be ignored by the
autoscaler when scaling up from zero nodes in a pool.

This commit adds config to add a prefix to the agent-not-ready taint so
it can be ignored by the cluster-autoscaler.

Related: #19241
Backports: #19247

$ for pr in 19247; do contrib/backporting/set-labels.py $pr done v1.11; done

[ upstream commit c1c9716 ]

[ Backporter's notes: Minor conflicts in values.yaml, go imports ]

If you scale a node pool down to zero nodes the Cluster Autoscaler won't
add new nodes because pending pods don't tolerate the cilium
agent-not-ready taint. If you're managing your own CA you can ignore
the cilium taint with a command line flag on the CA. However if you're
running on managed k8s (e.g. GKE), you may not have access to configure
the CA, and will need to use a custom taint prefix to be ignored by the
autoscaler when scaling up from zero nodes in a pool.

This commit adds config to add a prefix to the agent-not-ready taint so
it can be ignored by the cluster-autoscaler.

Fixes: #19241

Co-authored-by: Xiaoxi Huang <Xiaoxi@ascend.io>
Signed-off-by: Joseph Stevens <thejosephstevens@gmail.com>
Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer requested a review from a team as a code owner June 13, 2022 18:23
@maintainer-s-little-helper maintainer-s-little-helper bot added the kind/backports This PR provides functionality previously merged into master. label Jun 13, 2022
@joestringer
Copy link
Member Author

/test-backport-1.11

@joestringer
ADEB
Copy link
Member Author
joestringer commented Jun 13, 2022

runtime job hit #18958 , marked fix for backport to v1.11 branch.
Multicluster / Cluster mesh job hit #20186, retrying.

@joestringer joestringer merged commit c2597cc into v1.11 Jun 13, 2022
@joestringer joestringer deleted the pr/joe/backport-19247 branch June 13, 2022 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
0