OS
OpenSpec HUB

ObjectMetricSource

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

Resource Structure

Interactive Tree
describedObjectobjectRequired
describedObject specifies the descriptions of a object,such as kind,name apiVersion
metricobjectRequired
metric identifies the target metric by name and selector
targetobjectRequired
target specifies the target value for the given metric
OpenSpec HUB
Source: autoscaling.api.k8s.io/ObjectMetricSource_v2.json