PodsMetricSourceArgs

data class PodsMetricSourceArgs(val metric: Output<MetricIdentifierArgs>, val target: Output<MetricTargetArgs>) : ConvertibleToJava<PodsMetricSourceArgs>

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

Constructors

Link copied to clipboard
fun PodsMetricSourceArgs(metric: Output<MetricIdentifierArgs>, target: Output<MetricTargetArgs>)

Functions

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

Properties

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