Object Metric Source Patch Args
data class ObjectMetricSourcePatchArgs(val averageValue: Output<String>? = null, val metricName: Output<String>? = null, val selector: Output<LabelSelectorPatchArgs>? = null, val target: Output<CrossVersionObjectReferencePatchArgs>? = null, val targetValue: Output<String>? = null) : ConvertibleToJava<ObjectMetricSourcePatchArgs>
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(averageValue: Output<String>? = null, metricName: Output<String>? = null, selector: Output<LabelSelectorPatchArgs>? = null, target: Output<CrossVersionObjectReferencePatchArgs>? = null, targetValue: Output<String>? = null)
Properties
Link copied to clipboard
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
Link copied to clipboard
metricName is the name of the metric in question.
Link copied to clipboard
selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
Link copied to clipboard
target is the described Kubernetes object.
Link copied to clipboard
targetValue is the target value of the metric (as a quantity).