V2MetricSpec

March 28, 2026 ยท View on GitHub

MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

Properties

NameTypeDescriptionNotes
container_resourceV2ContainerResourceMetricSource[optional]
externalV2ExternalMetricSource[optional]
objectV2ObjectMetricSource[optional]
podsV2PodsMetricSource[optional]
resourceV2ResourceMetricSource[optional]
typestrtype is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.

[Back to Model list] [Back to API list] [Back to README]