Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for HPAScaleToZero (0.13 sec)

  1. pkg/apis/autoscaling/validation/validation_test.go

    			}},
    		},
    	}}
    	return minReplicasCases
    }
    
    func TestValidateHorizontalPodAutoscalerScaleToZeroEnabled(t *testing.T) {
    	// Enable HPAScaleToZero feature gate.
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.HPAScaleToZero, true)
    
    	zeroMinReplicasCases := prepareMinReplicasCases(t, 0)
    	for _, successCase := range zeroMinReplicasCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/validation/validation.go

    	// MinReplicasLowerBound represents a minimum value for minReplicas
    	// 0 when HPA scale-to-zero feature is enabled
    	var minReplicasLowerBound int32
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.HPAScaleToZero) {
    		minReplicasLowerBound = 0
    	} else {
    		minReplicasLowerBound = 1
    	}
    	allErrs = append(allErrs, validateHorizontalPodAutoscalerSpec(autoscaler.Spec, field.NewPath("spec"), minReplicasLowerBound)...)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. pkg/features/kube_features.go

    	// owner: @dxist
    	// alpha: v1.16
    	//
    	// Enables support of HPA scaling to zero pods when an object or custom metric is configured.
    	HPAScaleToZero featuregate.Feature = "HPAScaleToZero"
    
    	// owner: @deepakkinni @xing-yang
    	// kep: https://kep.k8s.io/2680
    	// alpha: v1.23
    	//
    	// Honor Persistent Volume Reclaim Policy when it is "Delete" irrespective of PV-PVC
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 22:51:23 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2beta1/types_swagger_doc_generated.go

    	"minReplicas":    "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v1/types_swagger_doc_generated.go

    	"minReplicas":                    "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2beta1/generated.proto

      // minReplicas is the lower limit for the number of replicas to which the autoscaler
      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // minReplicas is the lower limit for the number of replicas to which the autoscaler
      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/autoscaling/v2/generated.proto

      // minReplicas is the lower limit for the number of replicas to which the autoscaler
      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/autoscaling/v2/types_swagger_doc_generated.go

    	"minReplicas":    "minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured.  Scaling is active as long as at least one metric value is available.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 23:13:24 UTC 2023
    - 21.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v2beta2/generated.proto

      // minReplicas is the lower limit for the number of replicas to which the autoscaler
      // can scale down.  It defaults to 1 pod.  minReplicas is allowed to be 0 if the
      // alpha feature gate HPAScaleToZero is enabled and at least one Object or External
      // metric is configured.  Scaling is active as long as at least one metric value is
      // available.
      // +optional
      optional int32 minReplicas = 2;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top