-
Notifications
You must be signed in to change notification settings - Fork 716
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
kubeadm upgrade ignores ClusterConfiguration.proxy.disabled field #3137
Comments
This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/sig cluster-lifecycle |
/transfer kubeadm |
i don't think we have logic to skip the addons on upgrade based on the new clusterconfig fields. so that seems like a bug. |
I had my cluster running for years without kube-proxy. Pre 1.32 upgrades checked for kube-proxy configmap/daemonset, and as they were not present, the upgrade step simply skipped kube-proxy. Now this also has changed with 1.32. Perhaps, this was an undocumented/unintended behavior. |
we added phase support for /assign |
fix for 1.33: we have an e2e test for this: but it did not catch the issue, because it only validates if upgrade will pass if the addon config maps are missing. we need to update it to account for the |
e2e update: |
What happened?
Upgraded my cluster from 1.31 to 1.32. I have removed kube-proxy from my environment as kube-router handled service proxy functionality. When kubeadm upgrade finished, I've noticed that kube-proxy has been deployed. Unfortunately, it conflicted with kube-router, caused some service outage.
What did you expect to happen?
Expected that kube-proxy being not redeployed.
How can we reproduce it (as minimally and precisely as possible)?
Even on a fresh 1.32.0 install, edit configmap kube-system/kubeadm-config, set proxy.disabled as documented. To verify the configuration file to be used during upgrade, run:
It shows that proxy has been disabled:
Howewer, running
Ends with:
Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: