Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 64 for CurrentReplicas (0.43 sec)

  1. pkg/controller/podautoscaler/horizontal.go

    		a.storeScaleEvent(hpa.Spec.Behavior, key, currentReplicas, desiredReplicas)
    		logger.Info("Successfully rescaled",
    			"HPA", klog.KObj(hpa),
    			"currentReplicas", currentReplicas,
    			"desiredReplicas", desiredReplicas,
    			"reason", rescaleReason)
    
    		if desiredReplicas > currentReplicas {
    			actionLabel = monitor.ActionLabelScaleUp
    		} 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

    	conversionTestCases := []struct {
    		currentReplicas                  int32
    		expectedDesiredReplicas          int32
    		hpaMinReplicas                   int32
    		hpaMaxReplicas                   int32
    		expectedConvertedDesiredReplicas int32
    		expectedCondition                string
    		annotation                       string
    	}{
    		{
    			currentReplicas:                  5,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v1.HorizontalPodAutoscaler.yaml

      minReplicas: 2
      scaleTargetRef:
        apiVersion: apiVersionValue
        kind: kindValue
        name: nameValue
      targetCPUUtilizationPercentage: 4
    status:
      currentCPUUtilizationPercentage: 5
      currentReplicas: 3
      desiredReplicas: 4
      lastScaleTime: "2002-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v1.HorizontalPodAutoscaler.json

        },
        "minReplicas": 2,
        "maxReplicas": 3,
        "targetCPUUtilizationPercentage": 4
      },
      "status": {
        "observedGeneration": 1,
        "lastScaleTime": "2002-01-01T01:01:01Z",
        "currentReplicas": 3,
        "desiredReplicas": 4,
        "currentCPUUtilizationPercentage": 5
      }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_control.go

    	if statusErr == nil {
    		logger.V(4).Info("Updated status", "statefulSet", klog.KObj(set),
    			"replicas", currentStatus.Replicas,
    			"readyReplicas", currentStatus.ReadyReplicas,
    			"currentReplicas", currentStatus.CurrentReplicas,
    			"updatedReplicas", currentStatus.UpdatedReplicas)
    	}
    
    	switch {
    	case err != nil && statusErr != nil:
    		logger.Error(statusErr, "Could not update status", "statefulSet", klog.KObj(set))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta1.HorizontalPodAutoscaler.json

              "targetValue": "0",
              "targetAverageValue": "0"
            }
          }
        ]
      },
      "status": {
        "observedGeneration": 1,
        "lastScaleTime": "2002-01-01T01:01:01Z",
        "currentReplicas": 3,
        "desiredReplicas": 4,
        "currentMetrics": [
          {
            "type": "typeValue",
            "object": {
              "target": {
                "kind": "kindValue",
                "name": "nameValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. pkg/apis/apps/validation/validation_test.go

    		readyReplicas:   3,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid readyReplicas",
    		replicas:        3,
    		readyReplicas:   -1,
    		currentReplicas: 2,
    		updatedReplicas: 1,
    		expectedErr:     true,
    	}, {
    		name:            "invalid currentReplicas",
    		replicas:        3,
    		readyReplicas:   3,
    		currentReplicas: -1,
    		updatedReplicas: 1,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.HorizontalPodAutoscaler.yaml

                matchLabelsKey: matchLabelsValue
        resource:
          current:
            averageUtilization: 3
            averageValue: "0"
            value: "0"
          name: nameValue
        type: typeValue
      currentReplicas: 3
      desiredReplicas: 4
      lastScaleTime: "2002-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta1.HorizontalPodAutoscaler.yaml

            matchLabels:
              matchLabelsKey: matchLabelsValue
        resource:
          currentAverageUtilization: 2
          currentAverageValue: "0"
          name: nameValue
        type: typeValue
      currentReplicas: 3
      desiredReplicas: 4
      lastScaleTime: "2002-01-01T01:01:01Z"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.HorizontalPodAutoscaler.json

                "value": 2,
                "periodSeconds": 3
              }
            ]
          }
        }
      },
      "status": {
        "observedGeneration": 1,
        "lastScaleTime": "2002-01-01T01:01:01Z",
        "currentReplicas": 3,
        "desiredReplicas": 4,
        "currentMetrics": [
          {
            "type": "typeValue",
            "object": {
              "metric": {
                "name": "nameValue",
                "selector": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top