-
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
Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA #7938
Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA #7938
Conversation
Hi @cristicalin. 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/test-infra repository. |
3b793e4
to
08426f3
Compare
Should we fail instead of silently removing the flag ? |
Currently an upgrade attempt fails in an ugly way, see the related issue. Do we have any sanity checks before proceeding where we can implement this check early on? I have another check in mind with regard to verifying various version compatibilities where we support multiple versions (i.e. calico, cillium and so on). We could add a sanity check task/role early on in kubespray that would prevent running when incompatibilities are found and issue relevant warnings. |
I answered my own question, we do have settings validation in /cc @champtar |
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.
/ok-to-test
Why commenting the setting in test and not removing it though ?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cristicalin, floryut 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 |
To keep it around for historical reasons? I can remove it if you think it's cleaner that way. |
fb510fc
to
ce10b5f
Compare
I removed the commented lines in the tests files instead of just commenting them. |
/lgtm |
…to GA (kubernetes-sigs#7938) * Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA * Add check for dynamic_kubelet_configuration with kube >= 1.22
…to GA (kubernetes-sigs#7938) * Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA * Add check for dynamic_kubelet_configuration with kube >= 1.22
Flag --dynamic-config-dir has been deprecated, Feature DynamicKubeletConfig is deprecated in 1.22 and will not move to GA. It is planned to be removed from Kubernetes in the version 1.23. Please use alternative ways to update kubelet configuration.
What type of PR is this?
/kind bug
What this PR does / why we need it:
This PR addressed the deprecation of kubelet dynamic configuration in K8S 1.22 and ensures this feature is not accidentally enabled beyond 1.22 which could cause the kubelet to fail to start or worse break kubernetes upgrades.
Which issue(s) this PR fixes:
Fixes #7937
Special notes for your reviewer:
Does this PR introduce a user-facing change?: