ExternalMetricSourcePatch

data class ExternalMetricSourcePatch(val metricName: String? = null, val metricSelector: LabelSelectorPatch? = null, val targetAverageValue: String? = null, val targetValue: String? = null)

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

Constructors

Link copied to clipboard
constructor(metricName: String? = null, metricSelector: LabelSelectorPatch? = null, targetAverageValue: String? = null, targetValue: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val metricName: String? = null

metricName is the name of the metric in question.

Link copied to clipboard

metricSelector is used to identify a specific time series within a given metric.

Link copied to clipboard

targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.

Link copied to clipboard
val targetValue: String? = null

targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.