mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 20:53:33 +00:00
CLE feature gate
This commit is contained in:
parent
e3e56eb1e2
commit
9b16b0dc97
@ -152,6 +152,13 @@ const (
|
|||||||
// Allow the usage of options to fine-tune the cpumanager policies.
|
// Allow the usage of options to fine-tune the cpumanager policies.
|
||||||
CPUManagerPolicyOptions featuregate.Feature = "CPUManagerPolicyOptions"
|
CPUManagerPolicyOptions featuregate.Feature = "CPUManagerPolicyOptions"
|
||||||
|
|
||||||
|
// owner: @jefftree
|
||||||
|
// kep: https://kep.k8s.io/4355
|
||||||
|
// alpha: v1.31
|
||||||
|
//
|
||||||
|
// Enables coordinated leader election in the API server
|
||||||
|
CoordinatedLeaderElection featuregate.Feature = "CoordinatedLeaderElection"
|
||||||
|
|
||||||
// owner: @trierra
|
// owner: @trierra
|
||||||
// kep: http://kep.k8s.io/2589
|
// kep: http://kep.k8s.io/2589
|
||||||
// alpha: v1.23
|
// alpha: v1.23
|
||||||
@ -1256,6 +1263,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
|
|
||||||
genericfeatures.ConsistentListFromCache: {Default: false, PreRelease: featuregate.Alpha},
|
genericfeatures.ConsistentListFromCache: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
|
genericfeatures.CoordinatedLeaderElection: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
genericfeatures.EfficientWatchResumption: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
|
genericfeatures.EfficientWatchResumption: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
|
||||||
|
|
||||||
genericfeatures.KMSv1: {Default: false, PreRelease: featuregate.Deprecated},
|
genericfeatures.KMSv1: {Default: false, PreRelease: featuregate.Deprecated},
|
||||||
|
@ -18,7 +18,6 @@ package features
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"k8s.io/apimachinery/pkg/util/runtime"
|
"k8s.io/apimachinery/pkg/util/runtime"
|
||||||
|
|
||||||
utilfeature "k8s.io/apiserver/pkg/util/feature"
|
utilfeature "k8s.io/apiserver/pkg/util/feature"
|
||||||
"k8s.io/component-base/featuregate"
|
"k8s.io/component-base/featuregate"
|
||||||
)
|
)
|
||||||
@ -112,6 +111,13 @@ const (
|
|||||||
// Enables expression validation in Admission Control
|
// Enables expression validation in Admission Control
|
||||||
ValidatingAdmissionPolicy featuregate.Feature = "ValidatingAdmissionPolicy"
|
ValidatingAdmissionPolicy featuregate.Feature = "ValidatingAdmissionPolicy"
|
||||||
|
|
||||||
|
// owner: @jefftree
|
||||||
|
// kep: https://kep.k8s.io/4355
|
||||||
|
// alpha: v1.31
|
||||||
|
//
|
||||||
|
// Enables coordinated leader election in the API server
|
||||||
|
CoordinatedLeaderElection featuregate.Feature = "CoordinatedLeaderElection"
|
||||||
|
|
||||||
// alpha: v1.20
|
// alpha: v1.20
|
||||||
// beta: v1.21
|
// beta: v1.21
|
||||||
// GA: v1.24
|
// GA: v1.24
|
||||||
@ -360,6 +366,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
|
|
||||||
ValidatingAdmissionPolicy: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.32
|
ValidatingAdmissionPolicy: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.32
|
||||||
|
|
||||||
|
CoordinatedLeaderElection: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
|
||||||
EfficientWatchResumption: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
|
EfficientWatchResumption: {Default: true, PreRelease: featuregate.GA, LockToDefault: true},
|
||||||
|
|
||||||
KMSv1: {Default: false, PreRelease: featuregate.Deprecated},
|
KMSv1: {Default: false, PreRelease: featuregate.Deprecated},
|
||||||
|
Loading…
Reference in New Issue
Block a user