Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 86 for scaleTargetRef (0.29 sec)

  1. staging/src/k8s.io/api/autoscaling/v2beta2/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: Mon Nov 27 20:06:27 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v2beta1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) {
    	*out = *in
    	out.ScaleTargetRef = in.ScaleTargetRef
    	if in.MinReplicas != nil {
    		in, out := &in.MinReplicas, &out.MinReplicas
    		*out = new(int32)
    		**out = **in
    	}
    	if in.Metrics != nil {
    		in, out := &in.Metrics, &out.Metrics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 15.4K bytes
    - Viewed (0)
  3. 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)
  4. pkg/apis/autoscaling/v2beta1/zz_generated.conversion.go

    	if err := Convert_v2beta1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(&in.ScaleTargetRef, &out.ScaleTargetRef, s); err != nil {
    		return err
    	}
    	out.MinReplicas = (*int32)(unsafe.Pointer(in.MinReplicas))
    	out.MaxReplicas = in.MaxReplicas
    	if in.Metrics != nil {
    		in, out := &in.Metrics, &out.Metrics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 42.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/autoscaling/v1/zz_generated.deepcopy.go

    // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
    func (in *HorizontalPodAutoscalerSpec) DeepCopyInto(out *HorizontalPodAutoscalerSpec) {
    	*out = *in
    	out.ScaleTargetRef = in.ScaleTargetRef
    	if in.MinReplicas != nil {
    		in, out := &in.MinReplicas, &out.MinReplicas
    		*out = new(int32)
    		**out = **in
    	}
    	if in.TargetCPUUtilizationPercentage != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 16.8K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v1/zz_generated.conversion.go

    	if err := Convert_v1_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(&in.ScaleTargetRef, &out.ScaleTargetRef, s); err != nil {
    		return err
    	}
    	out.MinReplicas = (*int32)(unsafe.Pointer(in.MinReplicas))
    	out.MaxReplicas = in.MaxReplicas
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 43.7K bytes
    - Viewed (0)
  7. operator/pkg/compare/compare_test.go

      - resource:
          name: cpu
          target:
            type: Utilization
            averageUtilization: 80
        type: Resource
      minReplicas: 1
      scaleTargetRef:
        apiVersion: apps/v1
        kind: Deployment
        name: istio-ingressgateway`,
    			want: `spec:
      scaleTargetRef:
        name: ingressgateway -> istio-ingressgateway
    `,
    		},
    		{
    			desc: "arrays with same items",
    			a: `apiVersion: autoscaling/v2
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 21 02:18:20 UTC 2022
    - 33K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. pkg/apis/autoscaling/v2/zz_generated.conversion.go

    	if err := Convert_v2_CrossVersionObjectReference_To_autoscaling_CrossVersionObjectReference(&in.ScaleTargetRef, &out.ScaleTargetRef, s); err != nil {
    		return err
    	}
    	out.MinReplicas = (*int32)(unsafe.Pointer(in.MinReplicas))
    	out.MaxReplicas = in.MaxReplicas
    	if in.Metrics != nil {
    		in, out := &in.Metrics, &out.Metrics
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 58.5K bytes
    - Viewed (0)
Back to top