OS
OpenSpec HUB

MetricTarget

MetricTarget defines the target value, average value, or average utilization of a specific metric

Resource Structure

Interactive Tree
averageUtilizationinteger
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
averageValueobject
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
typestringRequired
type represents whether the metric type is Utilization, Value, or AverageValue
valueobject
value is the target value of the metric (as a quantity).
OpenSpec HUB
Source: autoscaling.api.k8s.io/MetricTarget_v2.json