Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for convertDesiredReplicasWithBehaviorRate (0.36 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    	}
    	return recommendation, reason, message
    }
    
    // convertDesiredReplicasWithBehaviorRate performs the actual normalization, given the constraint rate
    // It doesn't consider the stabilizationWindow, it is done separately
    func (a *HorizontalController) convertDesiredReplicasWithBehaviorRate(args NormalizationArg) (int32, string, string) {
    	var possibleLimitingReason, possibleLimitingMessage string
    
    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

    				MaxReplicas:       tc.specMaxReplicas,
    				DesiredReplicas:   tc.prenormalizedDesiredReplicas,
    				CurrentReplicas:   tc.currentReplicas,
    			}
    
    			replicas, condition, _ := hc.convertDesiredReplicasWithBehaviorRate(arg)
    			assert.Equal(t, tc.expectedReplicas, replicas, "expected replicas do not match with converted replicas")
    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