- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 27 for MetricSpec (0.28 sec)
-
pkg/apis/autoscaling/validation/validation_test.go
ScaleTargetRef: autoscaling.CrossVersionObjectReference{ Kind: "ReplicationController", Name: "myrc", }, MinReplicas: utilpointer.Int32(1), MaxReplicas: 5, Metrics: []autoscaling.MetricSpec{{ Type: autoscaling.ResourceMetricSourceType, Resource: &autoscaling.ResourceMetricSource{ Name: api.ResourceCPU, Target: autoscaling.MetricTarget{
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/controller/podautoscaler/horizontal.go
} else if metricSpec.Object.Target.Type == autoscalingv2.AverageValueMetricType && metricSpec.Object.Target.AverageValue != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 63.6K bytes - Viewed (0) -
pkg/apis/autoscaling/validation/validation.go
return allErrs } func validateMetrics(metrics []autoscaling.MetricSpec, fldPath *field.Path, minReplicas *int32) field.ErrorList { allErrs := field.ErrorList{} hasObjectMetrics := false hasExternalMetrics := false for i, metricSpec := range metrics { idxPath := fldPath.Index(i) if targetErrs := validateMetricSpec(metricSpec, idxPath); len(targetErrs) > 0 { allErrs = append(allErrs, targetErrs...) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Feb 25 00:58:00 UTC 2024 - 19.4K bytes - Viewed (0) -
pkg/kubelet/stats/provider_test.go
}) var ret []cadvisorapiv1.MetricSpec f.Fuzz(&ret) return ret } func generateCustomMetrics(spec []cadvisorapiv1.MetricSpec) map[string][]cadvisorapiv1.MetricVal { ret := map[string][]cadvisorapiv1.MetricVal{} for _, metricSpec := range spec { f := fuzz.New().NilChance(0).Funcs( func(e *cadvisorapiv1.MetricVal, c fuzz.Continue) { switch metricSpec.Format { case cadvisorapiv1.IntType:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 20K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
statusUpdated bool eventCreated bool verifyEvents bool useMetricsAPI bool metricsTarget []autoscalingv2.MetricSpec expectedDesiredReplicas int32 expectedConditions []autoscalingv2.HorizontalPodAutoscalerCondition // Channel with names of HPA objects which we have reconciled. processed chan string
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/v2beta1/generated.pb.go
func (m *MetricSpec) Reset() { *m = MetricSpec{} } func (*MetricSpec) ProtoMessage() {} func (*MetricSpec) Descriptor() ([]byte, []int) { return fileDescriptor_ea74040359c1ed83, []int{10} } func (m *MetricSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { b = b[:cap(b)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 142.9K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2beta2/generated.pb.go
var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo func (m *MetricSpec) Reset() { *m = MetricSpec{} } func (*MetricSpec) ProtoMessage() {} func (*MetricSpec) Descriptor() ([]byte, []int) { return fileDescriptor_1076ab1fac987148, []int{14} } func (m *MetricSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { b = b[:cap(b)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 163K bytes - Viewed (0) -
staging/src/k8s.io/api/autoscaling/v2/generated.pb.go
var xxx_messageInfo_MetricIdentifier proto.InternalMessageInfo func (m *MetricSpec) Reset() { *m = MetricSpec{} } func (*MetricSpec) ProtoMessage() {} func (*MetricSpec) Descriptor() ([]byte, []int) { return fileDescriptor_4d5f2c8767749221, []int{14} } func (m *MetricSpec) XXX_Unmarshal(b []byte) error { return m.Unmarshal(b) } func (m *MetricSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { b = b[:cap(b)]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:37 UTC 2024 - 162.9K bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2/generated.proto
// +optional optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 2; } // MetricSpec specifies how to scale based on a single metric // (only `type` and one other matching field should be set at once). message MetricSpec { // type is the type of metric source. It should be one of "ContainerResource", "External",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.3K bytes - Viewed (0) -
common-protos/k8s.io/api/autoscaling/v2beta1/generated.proto
// and indicates whether or not those conditions are met. // +optional repeated HorizontalPodAutoscalerCondition conditions = 6; } // MetricSpec specifies how to scale based on a single metric // (only `type` and one other matching field should be set at once). message MetricSpec { // type is the type of metric source. It should be one of "ContainerResource",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 18:43:24 UTC 2024 - 21.2K bytes - Viewed (0)