Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 358 for Cedric (0.36 sec)

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

    	allErrs = append(allErrs, validateMetricIdentifier(src.Metric, fldPath.Child("metric"))...)
    	allErrs = append(allErrs, validateMetricTarget(src.Target, fldPath.Child("target"))...)
    
    	if src.Target.Value == nil && src.Target.AverageValue == nil {
    		allErrs = append(allErrs, field.Required(fldPath.Child("target").Child("averageValue"), "must set either a target value for metric or a per-pod target"))
    	}
    
    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/controller/podautoscaler/horizontal.go

    		}
    		*status = autoscalingv2.MetricStatus{
    			Type: autoscalingv2.ObjectMetricSourceType,
    			Object: &autoscalingv2.ObjectMetricStatus{
    				Metric: autoscalingv2.MetricIdentifier{
    					Name:     metricSpec.Object.Metric.Name,
    					Selector: metricSpec.Object.Metric.Selector,
    				},
    				Current: autoscalingv2.MetricValueStatus{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/validation/validation_test.go

    					Pods: &autoscaling.PodsMetricSource{
    						Metric: autoscaling.MetricIdentifier{},
    						Target: autoscaling.MetricTarget{
    							Type:         autoscaling.ValueMetricType,
    							AverageValue: resource.NewMilliQuantity(100, resource.DecimalSI),
    						},
    					},
    				}},
    			},
    		},
    		msg: "must specify a metric name",
    	}, {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/v1.29.0/autoscaling.v2.HorizontalPodAutoscaler.yaml

      - containerResource:
          container: containerValue
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        external:
          metric:
            name: nameValue
            selector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
                - valuesValue
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.29.0/autoscaling.v2beta2.HorizontalPodAutoscaler.json

              },
              "target": {
                "type": "typeValue",
                "value": "0",
                "averageValue": "0",
                "averageUtilization": 4
              },
              "metric": {
                "name": "nameValue",
                "selector": {
                  "matchLabels": {
                    "matchLabelsKey": "matchLabelsValue"
                  },
                  "matchExpressions": [
                    {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.29.0/autoscaling.v2beta2.HorizontalPodAutoscaler.yaml

      - containerResource:
          container: containerValue
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        external:
          metric:
            name: nameValue
            selector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
                - valuesValue
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 04:12:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.HorizontalPodAutoscaler.yaml

      - containerResource:
          container: containerValue
          name: nameValue
          target:
            averageUtilization: 4
            averageValue: "0"
            type: typeValue
            value: "0"
        external:
          metric:
            name: nameValue
            selector:
              matchExpressions:
              - key: keyValue
                operator: operatorValue
                values:
                - valuesValue
              matchLabels:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. pkg/controller/podautoscaler/metrics/utilization.go

    	metricsTotal := int64(0)
    	requestsTotal := int64(0)
    	numEntries := 0
    
    	for podName, metric := range metrics {
    		request, hasRequest := requests[podName]
    		if !hasRequest {
    			// we check for missing requests elsewhere, so assuming missing requests == extraneous metrics
    			continue
    		}
    
    		metricsTotal += metric.Value
    		requestsTotal += request
    		numEntries++
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 22 08:59:02 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  9. pkg/test/echo/common/metrics.go

    // limitations under the License.
    
    package common
    
    import (
    	"istio.io/istio/pkg/monitoring"
    )
    
    type EchoMetrics struct {
    	HTTPRequests monitoring.Metric
    	GrpcRequests monitoring.Metric
    	TCPRequests  monitoring.Metric
    }
    
    var (
    	PortLabel = monitoring.CreateLabel("port")
    	Metrics   = &EchoMetrics{
    		HTTPRequests: monitoring.NewSum(
    			"istio_echo_http_requests_total",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  10. pilot/pkg/model/telemetry_metric_test.go

    						Metric: tpb.MetricSelector_ALL_METRICS,
    					},
    					Mode: tpb.WorkloadMode_SERVER,
    				},
    				Disabled: &wrappers.BoolValue{Value: true},
    			},
    			{
    				Match: &tpb.MetricSelector{
    					MetricMatch: &tpb.MetricSelector_Metric{
    						Metric: tpb.MetricSelector_REQUEST_COUNT,
    					},
    					Mode: tpb.WorkloadMode_CLIENT,
    				},
    				TagOverrides: map[string]*tpb.MetricsOverrides_TagOverride{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 16 03:24:36 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top