Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 158 for cedric (0.11 sec)

  1. common-protos/k8s.io/api/autoscaling/v1/generated.proto

    }
    
    // ExternalMetricStatus indicates the current value of a global metric
    // not associated with any Kubernetes object.
    message ExternalMetricStatus {
      // metricName is the name of a metric used for autoscaling in
      // metric system.
      optional string metricName = 1;
    
      // metricSelector is used to identify a specific time series
      // within a given metric.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/autoscaling/v1/types.go

    // ExternalMetricStatus indicates the current value of a global metric
    // not associated with any Kubernetes object.
    type ExternalMetricStatus struct {
    	// metricName is the name of a metric used for autoscaling in
    	// metric system.
    	MetricName string `json:"metricName" protobuf:"bytes,1,name=metricName"`
    
    	// metricSelector is used to identify a specific time series
    	// within a given metric.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  3. src/runtime/metrics/description.go

    	// Description is an English language sentence describing the metric.
    	Description string
    
    	// Kind is the kind of value for this metric.
    	//
    	// The purpose of this field is to allow users to filter out metrics whose values are
    	// types which their application may not understand.
    	Kind ValueKind
    
    	// Cumulative is whether or not the metric is cumulative. If a cumulative metric is just
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 17:59:12 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  4. pkg/apis/autoscaling/v2beta1/conversion.go

    	}
    	out.MetricName = in.Metric.Name
    	out.Selector = in.Metric.Selector
    	return nil
    }
    
    func Convert_v2beta1_PodsMetricStatus_To_autoscaling_PodsMetricStatus(in *autoscalingv2beta1.PodsMetricStatus, out *autoscaling.PodsMetricStatus, s conversion.Scope) error {
    	out.Current = autoscaling.MetricValueStatus{
    		AverageValue: &in.CurrentAverageValue,
    	}
    	out.Metric = autoscaling.MetricIdentifier{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 03 16:28:10 UTC 2021
    - 13.4K 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. 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)
  7. pkg/controller/podautoscaler/metrics/client_test.go

    								resource.DecimalSI),
    							v1.ResourceMemory: *resource.NewQuantity(
    								int64(1024*1024),
    								resource.BinarySI),
    						},
    					}
    					metric.Containers = append(metric.Containers, cm)
    				}
    				metrics.Items = append(metrics.Items, metric)
    			}
    			return true, metrics, nil
    		})
    	} else if isExternal {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 09 02:34:54 UTC 2021
    - 16.4K bytes
    - Viewed (0)
  8. tests/integration/telemetry/api/stats_test.go

    			for _, metric := range metrics {
    				t.NewSubTestf(metric).Run(func(t framework.TestContext) {
    					t.Cleanup(func() {
    						if t.Failed() {
    							util.PromDump(t.Clusters().Default(), promInst, prometheus.Query{Metric: metric})
    						}
    						grpcSourceQuery := buildGRPCQuery(metric)
    						cluster := t.Clusters().Default()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. src/runtime/metrics/doc.go

    Each metric key also has a "kind" (see [ValueKind]) that describes the format of the
    metric's value.
    In the interest of not breaking users of this package, the "kind" for a given metric
    is guaranteed not to change. If it must change, then a new metric will be introduced
    with a new key and a new "kind."
    
    # Metric key format
    
    As mentioned earlier, metric keys are strings. Their format is simple and well-defined,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:43 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/replica_calculator.go

    					// Ignore sample if pod is unready or one window of metric wasn't collected since last state transition.
    					unready = condition.Status == v1.ConditionFalse || metric.Timestamp.Before(condition.LastTransitionTime.Time.Add(metric.Window))
    				} else {
    					// Ignore metric if pod is unready and it has never been ready.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top