-
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
Add flag "--skip-addons" to kubeadm upgrade
#2846
Comments
There are no sig labels on this issue. Please add an appropriate label by using one of the following commands:
Please see the group list for a listing of the SIGs, working groups, and committees available. 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/test-infra repository. |
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/test-infra repository. |
/transfer kubeadm |
kubeadm upgrade checks if the addon config maps are missing and then does not perform upgrade of the addons. but the FR here is different, perhaps in such a case admins should skip the addons on init and deploy them with custom names, so that they are not managed by kubeadm upgrade too. i think ideally this skip should be possible with upgrade phases. we have a plan to add them but it's a bit complicated. i am generally -1 to add this new flag, but let's see what others think. |
the flag should be for 'upgrade apply' |
@neolit123 |
ok, let's keep this planned for: |
Great tip! I ran into the same issue with coredns (which we manage separately through ArgoCD). During upgrade kubeadm insisted that it really wanted to change some immutable values in the coredns deployment, so it kept failing. My workaround was to change the coredns configmap name to something other than "coredns", so kubeadm couldn't find it and skipped that phase. |
What would you like to be added?
Add flag "--skip-addons" to
kubeadm upgrade
, these addons upgrades will be skippedWhy is this needed?
In some certain scenarios, cluster administrators want to skip addons(i.e. coredns,kube-proxy) upgrades. The addons upgrades may affect the data plane, so administrators must be more careful to upgrade these addons.
The text was updated successfully, but these errors were encountered: