mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Add the HPAConfigurableTolerance feature gate.
This commit is contained in:
parent
dd43c3d29d
commit
463b15b9b2
@ -293,6 +293,12 @@ const (
|
||||
// Make the kubelet use shutdown configuration based on pod priority values for graceful shutdown.
|
||||
GracefulNodeShutdownBasedOnPodPriority featuregate.Feature = "GracefulNodeShutdownBasedOnPodPriority"
|
||||
|
||||
// owner: @jm-franc
|
||||
// kep: https://kep.k8s.io/4951
|
||||
//
|
||||
// Enables support of configurable HPA scale-up and scale-down tolerances.
|
||||
HPAConfigurableTolerance featuregate.Feature = "HPAConfigurableTolerance"
|
||||
|
||||
// owner: @dxist
|
||||
//
|
||||
// Enables support of HPA scaling to zero pods when an object or custom metric is configured.
|
||||
@ -1341,6 +1347,10 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
|
||||
{Version: version.MustParse("1.33"), Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.36
|
||||
},
|
||||
|
||||
HPAConfigurableTolerance: {
|
||||
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Alpha},
|
||||
},
|
||||
|
||||
HPAScaleToZero: {
|
||||
{Version: version.MustParse("1.16"), Default: false, PreRelease: featuregate.Alpha},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user