- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for AverageValueMetricType (0.36 sec)
-
pkg/apis/autoscaling/v1/conversion_test.go
{ Type: autoscaling.ResourceMetricSourceType, Resource: &autoscaling.ResourceMetricSource{ Name: api.ResourceCPU, Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: resource.NewMilliQuantity(300, resource.DecimalSI), }, }, }, { Type: autoscaling.ResourceMetricSourceType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 08 12:14:37 UTC 2023 - 5.8K bytes - Viewed (0) -
pkg/apis/autoscaling/v2beta1/conversion.go
utilization := in.TargetAverageUtilization averageValue := in.TargetAverageValue var metricType autoscaling.MetricTargetType if utilization == nil { metricType = autoscaling.AverageValueMetricType } else { metricType = autoscaling.UtilizationMetricType } out.Target = autoscaling.MetricTarget{ Type: metricType, AverageValue: averageValue, AverageUtilization: utilization,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 03 16:28:10 UTC 2021 - 13.4K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation_test.go
Type: autoscaling.AverageValueMetricType, AverageValue: resource.NewMilliQuantity(100, resource.DecimalSI), }, }, Pods: &autoscaling.PodsMetricSource{ Metric: autoscaling.MetricIdentifier{ Name: "somemetric", }, Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 56.7K bytes - Viewed (0) -
pkg/apis/autoscaling/v1/conversion.go
value := in.TargetValue averageValue := in.TargetAverageValue var metricType autoscaling.MetricTargetType if value == nil { metricType = autoscaling.AverageValueMetricType } else { metricType = autoscaling.ValueMetricType } out.Target = autoscaling.MetricTarget{ Type: metricType, Value: value, AverageValue: averageValue, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 16 03:29:22 UTC 2021 - 21.2K bytes - Viewed (0) -
pkg/apis/autoscaling/fuzzer/fuzzer.go
{ Type: autoscaling.PodsMetricSourceType, Pods: &autoscaling.PodsMetricSource{ Metric: podMetricID, Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: &averageValue, }, }, }, { Type: autoscaling.ObjectMetricSourceType, Object: &autoscaling.ObjectMetricSource{ Metric: objMetricID,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 15 06:03:59 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
Pods: &autoscalingv2.PodsMetricSource{ Metric: autoscalingv2.MetricIdentifier{ Name: "qps", }, Target: autoscalingv2.MetricTarget{ Type: autoscalingv2.AverageValueMetricType, AverageValue: &averageValue, }, }, }, }, reportedLevels: []uint64{20000, 10000, 30000},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta2/types.go
UtilizationMetricType MetricTargetType = "Utilization" // ValueMetricType declares a MetricTarget is a raw value ValueMetricType MetricTargetType = "Value" // AverageValueMetricType declares a MetricTarget is an AverageValueMetricType MetricTargetType = "AverageValue" ) // HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. type HorizontalPodAutoscalerStatus struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:27 UTC 2023 - 28.4K bytes - Viewed (0) -
pkg/apis/autoscaling/types.go
UtilizationMetricType MetricTargetType = "Utilization" // ValueMetricType is a possible value for MetricTarget.Type. ValueMetricType MetricTargetType = "Value" // AverageValueMetricType is a possible value for MetricTarget.Type. AverageValueMetricType MetricTargetType = "AverageValue" ) // HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. type HorizontalPodAutoscalerStatus struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Feb 27 23:13:24 UTC 2023 - 23.8K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2/types.go
UtilizationMetricType MetricTargetType = "Utilization" // ValueMetricType declares a MetricTarget is a raw value ValueMetricType MetricTargetType = "Value" // AverageValueMetricType declares a MetricTarget is an AverageValueMetricType MetricTargetType = "AverageValue" ) // HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler. type HorizontalPodAutoscalerStatus struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 17:42:49 UTC 2024 - 28.5K bytes - Viewed (0) -
pkg/printers/internalversion/printers_test.go
Name: "some-external-metric", Selector: metricLabelSelector, }, Target: autoscaling.MetricTarget{ Type: autoscaling.AverageValueMetricType, AverageValue: resource.NewMilliQuantity(100, resource.DecimalSI), }, }, }, }, }, Status: autoscaling.HorizontalPodAutoscalerStatus{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0)