Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MetricSpec (0.13 sec)

  1. pkg/controller/podautoscaler/horizontal_test.go

    	statusUpdated                bool
    	eventCreated                 bool
    	verifyEvents                 bool
    	useMetricsAPI                bool
    	metricsTarget                []autoscalingv2.MetricSpec
    	expectedDesiredReplicas      int32
    	expectedConditions           []autoscalingv2.HorizontalPodAutoscalerCondition
    	// Channel with names of HPA objects which we have reconciled.
    	processed chan string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
  2. 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)
  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. staging/src/k8s.io/api/autoscaling/v1/generated.pb.go

    func (m *MetricSpec) Reset()      { *m = MetricSpec{} }
    func (*MetricSpec) ProtoMessage() {}
    func (*MetricSpec) Descriptor() ([]byte, []int) {
    	return fileDescriptor_1972394c0c7aac8b, []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
    - 153K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers_test.go

    						Name: "some-rc",
    						Kind: "ReplicationController",
    					},
    					MinReplicas: &minReplicasVal,
    					MaxReplicas: 10,
    					Metrics: []autoscaling.MetricSpec{
    						{
    							Type: autoscaling.ExternalMetricSourceType,
    							External: &autoscaling.ExternalMetricSource{
    								Metric: autoscaling.MetricIdentifier{
    									Name:     "some-external-metric",
    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. api/openapi-spec/v3/apis__autoscaling__v2_openapi.json

              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          "io.k8s.api.autoscaling.v2.MetricSpec": {
            "description": "MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).",
            "properties": {
              "containerResource": {
                "allOf": [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 186.6K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers.go

    		r, err := printDeployment(&list.Items[i], options)
    		if err != nil {
    			return nil, err
    		}
    		rows = append(rows, r...)
    	}
    	return rows, nil
    }
    
    func formatHPAMetrics(specs []autoscaling.MetricSpec, statuses []autoscaling.MetricStatus) string {
    	if len(specs) == 0 {
    		return "<none>"
    	}
    	list := []string{}
    	max := 2
    	more := false
    	count := 0
    	for i, spec := range specs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
Back to top