ExternalMetricSourcePatchArgs

data class ExternalMetricSourcePatchArgs(val metricName: Output<String>? = null, val metricSelector: Output<LabelSelectorPatchArgs>? = null, val targetAverageValue: Output<String>? = null, val targetValue: Output<String>? = null) : ConvertibleToJava<ExternalMetricSourcePatchArgs>

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: Output<String>? = null, metricSelector: Output<LabelSelectorPatchArgs>? = null, targetAverageValue: Output<String>? = null, targetValue: Output<String>? = null)

Properties

Link copied to clipboard
val metricName: Output<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
val targetAverageValue: Output<String>? = null

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

Link copied to clipboard
val targetValue: Output<String>? = null

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

Functions

Link copied to clipboard
open override fun toJava(): ExternalMetricSourcePatchArgs