ObjectMetricSourcePatch

data class ObjectMetricSourcePatch(val describedObject: CrossVersionObjectReferencePatch? = null, val metric: MetricIdentifierPatch? = null, val target: MetricTargetPatch? = null)

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

Constructors

Link copied to clipboard
constructor(describedObject: CrossVersionObjectReferencePatch? = null, metric: MetricIdentifierPatch? = null, target: MetricTargetPatch? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

describedObject specifies the descriptions of a object,such as kind,name apiVersion

Link copied to clipboard

metric identifies the target metric by name and selector

Link copied to clipboard

target specifies the target value for the given metric