- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 401 for Cedric (0.2 sec)
-
pkg/controller/podautoscaler/metrics/interfaces.go
package metrics import ( "context" "time" autoscaling "k8s.io/api/autoscaling/v2" v1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/labels" ) // PodMetric contains pod metric value (the metric values are expected to be the metric as a milli-value) type PodMetric struct { Timestamp time.Time Window time.Duration Value int64 } // PodMetricsInfo contains pod metrics as a map from pod names to PodMetricsInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 2.4K bytes - Viewed (0) -
pkg/controller/podautoscaler/replica_calculator_test.go
t.Fatal("Metric specified as objectMetric but metric.singleObject is nil.") } outReplicas, outUsage, outTimestamp, err = replicaCalc.GetObjectPerPodMetricReplicas(tc.currentReplicas, tc.metric.perPodTargetUsage, tc.metric.name, testNamespace, tc.metric.singleObject, nil) case externalMetric: if tc.metric.selector == nil { t.Fatal("Metric specified as externalMetric but metric.selector is nil.") } if tc.metric.targetUsage <= 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Aug 19 03:31:34 UTC 2023 - 68.4K bytes - Viewed (0) -
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) -
staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/externalmetricstatus.go
package v2 // ExternalMetricStatusApplyConfiguration represents an declarative configuration of the ExternalMetricStatus type for use // with apply. type ExternalMetricStatusApplyConfiguration struct { Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"` Current *MetricValueStatusApplyConfiguration `json:"current,omitempty"` }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 2.1K bytes - Viewed (0) -
pkg/controller/volume/attachdetach/metrics/metrics_test.go
ObjectMeta: metav1.ObjectMeta{ Name: "metric-test-pod", UID: "metric-test-pod-uid", Namespace: "metric-test", }, Spec: v1.PodSpec{ NodeName: "metric-test-host", Volumes: []v1.Volume{ { Name: "metric-test-volume-name", VolumeSource: v1.VolumeSource{ PersistentVolumeClaim: &v1.PersistentVolumeClaimVolumeSource{ ClaimName: "metric-test-pvc", }, }, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 6.1K bytes - Viewed (0) -
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) -
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) -
staging/src/k8s.io/api/testdata/HEAD/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 May 06 21:25:20 UTC 2022 - 4.7K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/autoscaling/v2/objectmetricstatus.go
package v2 // ObjectMetricStatusApplyConfiguration represents an declarative configuration of the ObjectMetricStatus type for use // with apply. type ObjectMetricStatusApplyConfiguration struct { Metric *MetricIdentifierApplyConfiguration `json:"metric,omitempty"` Current *MetricValueStatusApplyConfiguration `json:"current,omitempty"` DescribedObject *CrossVersionObjectReferenceApplyConfiguration `json:"describedObject,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 09 02:34:54 UTC 2021 - 2.7K bytes - Viewed (0) -
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)