Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ScaleUpLimit (0.1 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    	// bogus CPU usage report from heapster/kubelet (like in issue #32304).
    	scaleUpLimit := calculateScaleUpLimit(currentReplicas)
    
    	if hpaMaxReplicas > scaleUpLimit {
    		maximumAllowedReplicas = scaleUpLimit
    		possibleLimitingCondition = "ScaleUpLimit"
    		possibleLimitingReason = "the desired replica count is increasing faster than the maximum scale rate"
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  2. pkg/controller/podautoscaler/horizontal_test.go

    			specMaxReplicas:              2000,
    			expectedReplicas:             4,
    			expectedCondition:            "ScaleUpLimit",
    			scaleUpRules:                 generateScalingRules(0, 0, 1, 60, 0),
    			name:                         "scaleUpLimit is the limit because scaleUpLimit < maxReplicas with user policies",
    		},
    		{
    			currentReplicas:              1000,
    			prenormalizedDesiredReplicas: 3,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top