-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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: remove the "alpha kubelet config enable-dynamic" command #94668
kubeadm: remove the "alpha kubelet config enable-dynamic" command #94668
Conversation
/kind cleanup deprecation |
) | ||
|
||
// newCmdKubeletUtility returns command for `kubeadm phase kubelet` | ||
func newCmdKubeletUtility() *cobra.Command { |
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.
the first commit technically removes the whole kubelet.go
file, because there are no more commands under kubelet -> config after enable-dynamic is removed.
/hold |
1cad00e
to
16fded8
Compare
The command was deprecated in 1.19 and can be removed in 1.20.
This command had a TODO to be removed once kubeadm init phases are added. Remove the command as init phases are in place already.
@fabriziopandini updated to remove cmd/kubeadm/app/phases/kubelet/dynamic*.go |
16fded8
to
daef96c
Compare
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini, neolit123 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 |
@fabriziopandini i intentionally left the "alpha phase" cleanup in a separate commit. Lmk if you still would preffer 1 commit here. |
fine for me! |
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.
Thanks!
/lgtm
/hold cancel |
What this PR does / why we need it:
The command was deprecated in 1.19 and can be removed in 1.20:
#92881
Which issue(s) this PR fixes:
Fixes kubernetes/kubeadm#2216
Special notes for your reviewer:
second commit removes a stray "kubeadm alpha phase" command which we used for experimental phases before "kubeadm init phase".
Does this PR introduce a user-facing change?:
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: