Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ScaleDownLimit (0.11 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		a.scaleDownEventsLock.RLock()
    		defer a.scaleDownEventsLock.RUnlock()
    		scaleDownLimit := calculateScaleDownLimitWithBehaviors(args.CurrentReplicas, a.scaleUpEvents[args.Key], a.scaleDownEvents[args.Key], args.ScaleDownBehavior)
    
    		if scaleDownLimit > args.CurrentReplicas {
    			// We shouldn't scale down further until the scaleDownEvents will be cleaned up
    			scaleDownLimit = args.CurrentReplicas
    		}
    		minimumAllowedReplicas := args.MinReplicas
    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

    			scaleDownRules:               generateScalingRules(20, 60, 0, 0, 0),
    			expectedReplicas:             980,
    			expectedCondition:            "ScaleDownLimit",
    			name:                         "scaleDownLimit is the limit because scaleDownLimit > minReplicas with user defined policies",
    			testThis:                     true,
    		},
    		// ScaleUp without PeriodSeconds usage
    		{
    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