[kubeadm]fix DynamicKubeletConfig feature to beta#65576
[kubeadm]fix DynamicKubeletConfig feature to beta#65576k8s-github-robot merged 1 commit intokubernetes:masterfrom
Conversation
7d96bfe to
0883365
Compare
|
@stewart-yu some unit tests are not happy. @kubernetes/sig-cluster-lifecycle-pr-reviews |
neolit123
left a comment
There was a problem hiding this comment.
added some notes about not handling feature-gate==false
cmd/kubeadm/app/cmd/init.go
Outdated
There was a problem hiding this comment.
[1] what if the user has disabled the DKC via the feature gate?
cmd/kubeadm/app/cmd/join.go
Outdated
|
/hold We haven't decided to default or not in 1.11. I think before we do we need to make certain we'd thought through the implications of enabling by default. You can easily brick a whole cluster on a single config change. Please open an issue in the kubeadm repo and outline your motivation and we can discuss within the SIG. /cc @luxas |
0883365 to
1249a13
Compare
|
sorry, my fault. @neolit123 @timothysc |
bd86f0a to
2c42c14
Compare
8f146fd to
b41f72a
Compare
|
/retest |
b41f72a to
c93b6eb
Compare
c93b6eb to
354512a
Compare
|
@timothysc: GitHub didn't allow me to request PR reviews from the following users: rdodev. Note that only kubernetes members and repo collaborators can review this PR, and authors cannot review their own PRs. DetailsIn 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/test-infra repository. |
There was a problem hiding this comment.
Being dynamic kubelet beta and enabled by default, could you kindly confirm that it is still the case we should set DynamicKubeletConfig=true. I was expecting the logic here to be changed (set false when we don't want dynamic kubelet)....
fabriziopandini
left a comment
There was a problem hiding this comment.
I agree with @timothysc that we should discuss this further at SIG level. In the meantime please answer to the question ^^^
|
Actually, i'm little knowledge about |
|
@stewart-yu - We discussed this on the sig call today, and have decided that we do not want to enable this by default, but update to beta in the feature gates. |
354512a to
37fdd1d
Compare
|
@timothysc thanks |
| HighAvailability: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Alpha}, HiddenInHelpText: true}, | ||
| CoreDNS: {FeatureSpec: utilfeature.FeatureSpec{Default: true, PreRelease: utilfeature.GA}}, | ||
| DynamicKubeletConfig: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Alpha}}, | ||
| DynamicKubeletConfig: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Beta}}, |
There was a problem hiding this comment.
We normally enable beta features by default. Also this is already enabled in v1.11 kubelet. We should make it consistent. @timothysc
There was a problem hiding this comment.
This is correct, we had long conversation on the sig
| fmt.Printf("[kubelet] Enabling Dynamic Kubelet Config for Node %q; config sourced from ConfigMap %q in namespace %s\n", | ||
| nodeName, configMapName, metav1.NamespaceSystem) | ||
| fmt.Println("[kubelet] WARNING: The Dynamic Kubelet Config feature is alpha and off by default. It hasn't been well-tested yet at this stage, use with caution.") | ||
| fmt.Println("[kubelet] WARNING: The Dynamic Kubelet Config feature is beta, but off by default. It hasn't been well-tested yet at this stage, use with caution.") |
| HighAvailability: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Alpha}, HiddenInHelpText: true}, | ||
| CoreDNS: {FeatureSpec: utilfeature.FeatureSpec{Default: true, PreRelease: utilfeature.GA}}, | ||
| DynamicKubeletConfig: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Alpha}}, | ||
| DynamicKubeletConfig: {FeatureSpec: utilfeature.FeatureSpec{Default: false, PreRelease: utilfeature.Beta}}, |
There was a problem hiding this comment.
This is correct, we had long conversation on the sig
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: stewart-yu, timothysc The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Thanks. @timothysc |
|
/test all [submit-queue is verifying that this PR is safe to merge] |
|
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
What this PR does / why we need it:
As PR get merged, DynamicKubeletConfig feature convert to
betain v1.11, and set totruein default.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #kubernetes/kubeadm#957
Special notes for your reviewer:
Release note: