Add the HPAConfigurableTolerance feature gate.

This commit is contained in:
Jean-Marc François 2025-03-14 10:43:11 -04:00
parent dd43c3d29d
commit 463b15b9b2

View File

@ -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},
},