Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. pkg/controller/podautoscaler/horizontal.go

    	scaleUpLimit := calculateScaleUpLimit(currentReplicas)
    
    	if hpaMaxReplicas > scaleUpLimit {
    		maximumAllowedReplicas = scaleUpLimit
    		possibleLimitingCondition = "ScaleUpLimit"
    		possibleLimitingReason = "the desired replica count is increasing faster than the maximum scale rate"
    	} else {
    		maximumAllowedReplicas = hpaMaxReplicas
    		possibleLimitingCondition = "TooManyReplicas"
    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

    		hpaMinReplicas                   int32
    		hpaMaxReplicas                   int32
    		expectedConvertedDesiredReplicas int32
    		expectedCondition                string
    		annotation                       string
    	}{
    		{
    			currentReplicas:                  5,
    			expectedDesiredReplicas:          7,
    			hpaMinReplicas:                   3,
    			hpaMaxReplicas:                   8,
    			expectedConvertedDesiredReplicas: 7,
    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