Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 285 for cedric (0.16 sec)

  1. staging/src/k8s.io/api/testdata/v1.30.0/autoscaling.v2.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: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. cmd/tier_test.go

    		globalTierMetrics.logFailure(tier)
    	}
    	metrics := globalTierMetrics.Report()
    	var succ, fail float64
    	for _, metric := range metrics {
    		switch metric.Description.Name {
    		case tierRequestsSuccess:
    			succ += metric.Value
    		case tierRequestsFailure:
    			fail += metric.Value
    		}
    	}
    	if int(succ) != expSuccess {
    		t.Fatalf("Expected %d successes but got %f", expSuccess, succ)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Dec 21 04:13:40 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/resource_metrics.go

    // Since new containers are frequently created and removed, using the Gauge would
    // leak metric collectors for containers or pods that no longer exist.  Instead, implement
    // custom collector in a way that only collects metrics for active containers.
    func (rc *resourceMetricsCollector) CollectWithStability(ch chan<- metrics.Metric) {
    	ctx := context.Background()
    	var errorCount float64
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 07:13:37 UTC 2023
    - 9.2K bytes
    - Viewed (2)
  4. staging/src/k8s.io/api/testdata/v1.30.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: Thu Apr 18 08:52:25 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    	}
    
    	key := getResourceKey(name, labels)
    	metric, found := subsysMetrics[key]
    	if !found {
    		metric = ResourceMetric{
    			Name:   name,
    			Labels: labels,
    		}
    	}
    
    	if isCumulative {
    		metric.Current = val - metric.Cumulative
    		metric.Cumulative = val
    	} else {
    		metric.Current = val
    	}
    
    	if metric.Current > metric.Max {
    		metric.Max = val
    	}
    
    	metric.Sum += metric.Current
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  6. security/pkg/server/ca/monitoring.go

    type monitoringMetrics struct {
    	CSR               monitoring.Metric
    	AuthnError        monitoring.Metric
    	Success           monitoring.Metric
    	CSRError          monitoring.Metric
    	IDExtractionError monitoring.Metric
    	certSignErrors    monitoring.Metric
    }
    
    // newMonitoringMetrics creates a new monitoringMetrics.
    func newMonitoringMetrics() monitoringMetrics {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 21 18:32:09 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top