Skip to content

Commit bec4c04

Browse files
committed
kubeadm: promote etcd learner mode to GA
1 parent bee5e03 commit bec4c04

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/kubeadm/app/features/features.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const (
3434
PublicKeysECDSA = "PublicKeysECDSA"
3535
// RootlessControlPlane is expected to be in alpha in v1.22
3636
RootlessControlPlane = "RootlessControlPlane"
37-
// EtcdLearnerMode is expected to be in alpha in v1.27, beta in v1.29
37+
// EtcdLearnerMode is expected to be in alpha in v1.27, beta in v1.29, ga in v1.32
3838
EtcdLearnerMode = "EtcdLearnerMode"
3939
// WaitForAllControlPlaneComponents is expected to be alpha in v1.30
4040
WaitForAllControlPlaneComponents = "WaitForAllControlPlaneComponents"
@@ -53,7 +53,7 @@ var InitFeatureGates = FeatureList{
5353
DeprecationMessage: "Deprecated in favor of the core kubelet feature UserNamespacesSupport which is beta since 1.30." +
5454
" Once UserNamespacesSupport graduates to GA, kubeadm will start using it and RootlessControlPlane will be removed.",
5555
},
56-
EtcdLearnerMode: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.Beta}},
56+
EtcdLearnerMode: {FeatureSpec: featuregate.FeatureSpec{Default: true, PreRelease: featuregate.GA, LockToDefault: true}},
5757
WaitForAllControlPlaneComponents: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
5858
ControlPlaneKubeletLocalMode: {FeatureSpec: featuregate.FeatureSpec{Default: false, PreRelease: featuregate.Alpha}},
5959
}

0 commit comments

Comments
 (0)