- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for stabilizeRecommendationWithBehaviors (1.94 sec)
-
pkg/controller/podautoscaler/horizontal.go
} } } // stabilizeRecommendationWithBehaviors: // - replaces old recommendation with the newest recommendation, // - returns {max,min} of recommendations that are not older than constraints.Scale{Up,Down}.DelaySeconds func (a *HorizontalController) stabilizeRecommendationWithBehaviors(args NormalizationArg) (int32, string, string) { now := time.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
}, ScaleDownBehavior: &autoscalingv2.HPAScalingRules{ StabilizationWindowSeconds: &tc.scaleDownStabilizationWindowSeconds, }, } r, _, _ := hc.stabilizeRecommendationWithBehaviors(arg) assert.Equal(t, tc.expectedStabilizedReplicas, r, "expected replicas do not match") if tc.expectedRecommendations != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)