diff --git a/applyconfigurations/autoscaling/v2/hpascalingrules.go b/applyconfigurations/autoscaling/v2/hpascalingrules.go index cebb11aa6..ad0556b0a 100644 --- a/applyconfigurations/autoscaling/v2/hpascalingrules.go +++ b/applyconfigurations/autoscaling/v2/hpascalingrules.go @@ -36,8 +36,7 @@ import ( // window is chosen. // // The tolerance is applied to the metric values and prevents scaling too -// eagerly for small metric variations. (Note that setting a tolerance requires -// the beta HPAConfigurableTolerance feature gate to be enabled.) +// eagerly for small metric variations. type HPAScalingRulesApplyConfiguration struct { // stabilizationWindowSeconds is the number of seconds for which past recommendations should be // considered while scaling up or scaling down. @@ -62,9 +61,6 @@ type HPAScalingRulesApplyConfiguration struct { // For example, if autoscaling is configured with a memory consumption target of 100Mi, // and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be // triggered when the actual consumption falls below 95Mi or exceeds 101Mi. - // - // This is an beta field and requires the HPAConfigurableTolerance feature - // gate to be enabled. Tolerance *resource.Quantity `json:"tolerance,omitempty"` } diff --git a/go.mod b/go.mod index 8cf0f03c0..43c20e284 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( golang.org/x/time v0.15.0 google.golang.org/protobuf v1.36.12-0.20260120151049-f2248ac996af gopkg.in/evanphx/json-patch.v4 v4.13.0 - k8s.io/api v0.0.0-20260716180343-d885c1a612e0 + k8s.io/api v0.0.0-20260717020245-0028affc23df k8s.io/apimachinery v0.0.0-20260714215629-2596865fdece k8s.io/klog/v2 v2.140.0 k8s.io/kube-openapi v0.0.0-20260618221249-bc653b64f974 diff --git a/go.sum b/go.sum index 5e7897cde..4a22b5344 100644 --- a/go.sum +++ b/go.sum @@ -118,8 +118,8 @@ gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc= gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -k8s.io/api v0.0.0-20260716180343-d885c1a612e0 h1:TBkv8efAgF+n0ia3bcR1EElqj1Ck99P8hZxPBYH+ML4= -k8s.io/api v0.0.0-20260716180343-d885c1a612e0/go.mod h1:vlAgt05H+iO4kEanqHqE6o83CIg8g+V2YzcokiLpd6c= +k8s.io/api v0.0.0-20260717020245-0028affc23df h1:Gwkqyck0882E+jwI2j6l8xo7epcximkbzM4Sva0jUyk= +k8s.io/api v0.0.0-20260717020245-0028affc23df/go.mod h1:vlAgt05H+iO4kEanqHqE6o83CIg8g+V2YzcokiLpd6c= k8s.io/apimachinery v0.0.0-20260714215629-2596865fdece h1:Sb4AgV6zFxg96iti6D/uf66/tlwLfOmhSBl78Tjwhqc= k8s.io/apimachinery v0.0.0-20260714215629-2596865fdece/go.mod h1:gUMHWz9sZCP7+vv/RiJJXhiPGY2mjS9OgfFcoqYul+M= k8s.io/klog/v2 v2.140.0 h1:Tf+J3AH7xnUzZyVVXhTgGhEKnFqye14aadWv7bzXdzc=