add feature gate
This commit is contained in:
@@ -843,6 +843,13 @@ const (
|
||||
//
|
||||
// Enables In-Place Pod Vertical Scaling
|
||||
InPlacePodVerticalScaling featuregate.Feature = "InPlacePodVerticalScaling"
|
||||
|
||||
// owner: @danielvegamyhre
|
||||
// kep: https://kep.k8s.io/4017
|
||||
// beta: v1.28
|
||||
//
|
||||
// Set pod completion index as a pod label for Indexed Jobs and StatefulSets.
|
||||
PodIndexLabel featuregate.Feature = "PodIndexLabel"
|
||||
)
|
||||
|
||||
func init() {
|
||||
@@ -1072,6 +1079,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
||||
|
||||
InPlacePodVerticalScaling: {Default: false, PreRelease: featuregate.Alpha},
|
||||
|
||||
PodIndexLabel: {Default: true, PreRelease: featuregate.Beta},
|
||||
|
||||
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
||||
// unintentionally on either side:
|
||||
|
||||
|
Reference in New Issue
Block a user