Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ValidMetricFound (0.18 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		return -1, "", statuses, time.Time{}, invalidMetricError
    	}
    	setCondition(hpa, autoscalingv2.ScalingActive, v1.ConditionTrue, "ValidMetricFound", "the HPA was able to successfully calculate a replica count from %s", metric)
    
    	return replicas, metric, statuses, timestamp, invalidMetricError
    }
    
    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

    var statusOk = []autoscalingv2.HorizontalPodAutoscalerCondition{
    	{Type: autoscalingv2.AbleToScale, Status: v1.ConditionTrue, Reason: "SucceededRescale"},
    	{Type: autoscalingv2.ScalingActive, Status: v1.ConditionTrue, Reason: "ValidMetricFound"},
    	{Type: autoscalingv2.ScalingLimited, Status: v1.ConditionFalse, Reason: "DesiredWithinRange"},
    }
    
    // statusOkWithOverrides returns the "ok" status with the given conditions as overridden
    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