Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for MetricSpec (0.15 sec)

  1. staging/src/k8s.io/api/autoscaling/v2beta1/generated.pb.go

    func (m *MetricSpec) Reset()      { *m = MetricSpec{} }
    func (*MetricSpec) ProtoMessage() {}
    func (*MetricSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_ea74040359c1ed83, []int{10}
    }
    func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 142.9K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v2beta2/defaults.go

    		obj.Spec.MinReplicas = pointer.Int32(1)
    	}
    
    	if len(obj.Spec.Metrics) == 0 {
    		utilizationDefaultVal := int32(autoscaling.DefaultCPUUtilization)
    		obj.Spec.Metrics = []autoscalingv2beta2.MetricSpec{
    			{
    				Type: autoscalingv2beta2.ResourceMetricSourceType,
    				Resource: &autoscalingv2beta2.ResourceMetricSource{
    					Name: v1.ResourceCPU,
    					Target: autoscalingv2beta2.MetricTarget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go

    var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo
    
    func (m *MetricSpec) Reset()      { *m = MetricSpec{} }
    func (*MetricSpec) ProtoMessage() {}
    func (*MetricSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_1076ab1fac987148, []int{14}
    }
    func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 163K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v2/generated.pb.go

    var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo
    
    func (m *MetricSpec) Reset()      { *m = MetricSpec{} }
    func (*MetricSpec) ProtoMessage() {}
    func (*MetricSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_4d5f2c8767749221, []int{14}
    }
    func (m *MetricSpec) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    	b = b[:cap(b)]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 162.9K bytes
    - Viewed (0)
  5. pkg/registry/autoscaling/horizontalpodautoscaler/storage/storage_test.go

    		Spec: autoscaling.HorizontalPodAutoscalerSpec{
    			ScaleTargetRef: autoscaling.CrossVersionObjectReference{
    				Kind: "ReplicationController",
    				Name: "myrc",
    			},
    			MaxReplicas: 5,
    			Metrics: []autoscaling.MetricSpec{
    				{
    					Type: autoscaling.ResourceMetricSourceType,
    					Resource: &autoscaling.ResourceMetricSource{
    						Name: api.ResourceCPU,
    						Target: autoscaling.MetricTarget{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  6. pkg/apis/autoscaling/v2beta1/defaults_test.go

    )
    
    func TestSetDefaultHPA(t *testing.T) {
    	utilizationDefaultVal := int32(autoscaling.DefaultCPUUtilization)
    	defaultReplicas := utilpointer.Int32(1)
    	defaultTemplate := []autoscalingv2beta1.MetricSpec{
    		{
    			Type: autoscalingv2beta1.ResourceMetricSourceType,
    			Resource: &autoscalingv2beta1.ResourceMetricSource{
    				Name:                     v1.ResourceCPU,
    				TargetAverageUtilization: &utilizationDefaultVal,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 6K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/autoscaling/v2/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    // (only `type` and one other matching field should be set at once).
    message MetricSpec {
      // type is the type of metric source.  It should be one of "ContainerResource", "External",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto

      // and indicates whether or not those conditions are met.
      // +optional
      repeated HorizontalPodAutoscalerCondition conditions = 6;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    // (only `type` and one other matching field should be set at once).
    message MetricSpec {
      // type is the type of metric source.  It should be one of "ContainerResource",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/autoscaling/v2beta2/generated.proto

      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    // (only `type` and one other matching field should be set at once).
    message MetricSpec {
      // type is the type of metric source.  It should be one of "ContainerResource", "External",
    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

      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2;
    }
    
    // MetricSpec specifies how to scale based on a single metric
    // (only `type` and one other matching field should be set at once).
    message MetricSpec {
      // type is the type of metric source.  It should be one of "ContainerResource", "External",
    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