-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Fix: remove --config option from kubeadm upgrade (#11350) #11352
Fix: remove --config option from kubeadm upgrade (#11350) #11352
Conversation
We can't mix some options with --config for kubeadm upgrade. The --config on upgrade is deprecated, and should be removed.
Hi @tmurakam. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
Your PR didn't include that Kubeadm deprecates the kubernetes/kubeadm#3054 However, the documentation I found does not indicate that they are deprecated. For the time being, the v1.30 version can't use the related #10935 https://kubernetes.io/docs/reference/config-api/kubeadm-config.v1beta4/ |
@tico88612 |
In the issue in the kubeadm project it was said this as well:
And I don't think we are applying/editing this cluster wide configmap anywhere which we should be doing if we can't use the local config anymore IIUC |
@MrFreezeex @cyclinder |
/label ci-extended |
@tico88612: The label(s) In response to this:
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. |
@tico88612: The label(s) In response to this:
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. |
I created a PR #11458 to add a CI job to test cluster upgrading. |
Manual test successful. /lgtm |
HI @ErikJiang Would you please help to review it |
Thanks @tmurakam |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tmurakam, yankay The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
We can't mix some options with --config for kubeadm upgrade. The --config on upgrade (with InitConfiguration/ClusterConfiguration) is deprecated, and should be removed.
What type of PR is this?
/kind bug
What this PR does / why we need it:
Fix upgrade issue of
kubespray upgrade
.This removes
--config
option.Which issue(s) this PR fixes:
Fixes #11350
Special notes for your reviewer:
I have no confidence of side effects of removing the
--config
options.Please consider the effects. If it is not acceptable, please reject this PR.
Does this PR introduce a user-facing change?: