- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for calculateScaleUpLimit (0.13 sec)
-
pkg/controller/podautoscaler/horizontal.go
// Do not scaleup too much to prevent incorrect rapid increase of the number of master replicas caused by // bogus CPU usage report from heapster/kubelet (like in issue #32304). scaleUpLimit := calculateScaleUpLimit(currentReplicas) if hpaMaxReplicas > scaleUpLimit { maximumAllowedReplicas = scaleUpLimit possibleLimitingCondition = "ScaleUpLimit"
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
{ currentReplicas: 3, expectedDesiredReplicas: 1000, hpaMinReplicas: 1, hpaMaxReplicas: 2000, expectedConvertedDesiredReplicas: calculateScaleUpLimit(3), expectedCondition: "ScaleUpLimit", annotation: "scaleUpLimit is the limit because scaleUpLimit < maxReplicas", }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)