Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 59 for scaleTargetRef (0.28 sec)

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

    		allErrs = append(allErrs, field.Invalid(fldPath.Child("maxReplicas"), autoscaler.MaxReplicas, "must be greater than or equal to `minReplicas`"))
    	}
    	if refErrs := ValidateCrossVersionObjectReference(autoscaler.ScaleTargetRef, fldPath.Child("scaleTargetRef")); len(refErrs) > 0 {
    		allErrs = append(allErrs, refErrs...)
    	}
    	if refErrs := validateMetrics(autoscaler.Metrics, fldPath.Child("metrics"), autoscaler.MinReplicas); len(refErrs) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  2. pkg/printers/internalversion/printers_test.go

    	}{
    		// minReplicas unset
    		{
    			hpa: autoscaling.HorizontalPodAutoscaler{
    				ObjectMeta: metav1.ObjectMeta{Name: "some-hpa"},
    				Spec: autoscaling.HorizontalPodAutoscalerSpec{
    					ScaleTargetRef: autoscaling.CrossVersionObjectReference{
    						Name: "some-rc",
    						Kind: "ReplicationController",
    					},
    					MaxReplicas: 10,
    				},
    				Status: autoscaling.HorizontalPodAutoscalerStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal.go

    	hpa := hpaShared.DeepCopy()
    	hpaStatusOriginal := hpa.Status.DeepCopy()
    
    	reference := fmt.Sprintf("%s/%s/%s", hpa.Spec.ScaleTargetRef.Kind, hpa.Namespace, hpa.Spec.ScaleTargetRef.Name)
    
    	targetGV, err := schema.ParseGroupVersion(hpa.Spec.ScaleTargetRef.APIVersion)
    	if err != nil {
    		a.eventRecorder.Event(hpa, v1.EventTypeWarning, "FailedGetScale", err.Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v1/types.go

    	// reference to scaled resource; horizontal pod autoscaler will learn the current resource consumption
    	// and will set the desired number of pods by using its Scale subresource.
    	ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef" protobuf:"bytes,1,opt,name=scaleTargetRef"`
    	// 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/autoscaling/v2/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    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. staging/src/k8s.io/api/autoscaling/v2beta2/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/autoscaling/v2beta1/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    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. common-protos/k8s.io/api/autoscaling/v2/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

    message HorizontalPodAutoscalerSpec {
      // scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics
      // should be collected, as well as to actually change the replica count.
      optional CrossVersionObjectReference scaleTargetRef = 1;
    
      // minReplicas is the lower limit for the number of replicas to which the autoscaler
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
Back to top