Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 1.25 KB

V2beta1MetricSpec.md

File metadata and controls

16 lines (12 loc) · 1.25 KB

V2beta1MetricSpec

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

Properties

Name Type Description Notes
container_resource V2beta1ContainerResourceMetricSource [optional]
external V2beta1ExternalMetricSource [optional]
object V2beta1ObjectMetricSource [optional]
pods V2beta1PodsMetricSource [optional]
resource V2beta1ResourceMetricSource [optional]
type str type 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. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled

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