Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for scaleTargetRef (0.19 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml

        resource:
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        type: typeValue
      minReplicas: 2
      scaleTargetRef:
        apiVersion: apiVersionValue
        kind: kindValue
        name: nameValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
        message: messageValue
        reason: reasonValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json

            "time": "2004-01-01T01:01:01Z",
            "fieldsType": "fieldsTypeValue",
            "fieldsV1": {},
            "subresource": "subresourceValue"
          }
        ]
      },
      "spec": {
        "scaleTargetRef": {
          "kind": "kindValue",
          "name": "nameValue",
          "apiVersion": "apiVersionValue"
        },
        "minReplicas": 2,
        "maxReplicas": 3,
        "metrics": [
          {
            "type": "typeValue",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.HorizontalPodAutoscaler.yaml

        resource:
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        type: typeValue
      minReplicas: 2
      scaleTargetRef:
        apiVersion: apiVersionValue
        kind: kindValue
        name: nameValue
    status:
      conditions:
      - lastTransitionTime: "2003-01-01T01:01:01Z"
        message: messageValue
        reason: reasonValue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2/types.go

    type HorizontalPodAutoscalerSpec struct {
    	// 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.
    	ScaleTargetRef CrossVersionObjectReference `json:"scaleTargetRef" protobuf:"bytes,1,opt,name=scaleTargetRef"`
    	// 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 May 23 17:42:49 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top