kubernetes v1.34

HorizontalPodAutoscalerSpec.metrics.pods

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

2 fields
HorizontalPodAutoscalerSpec.metrics.pods fields and descriptions
Field / TypeDescription
MetricIdentifier required

metric identifies the target metric by name and selector

MetricTarget required

target specifies the target value for the given metric