ObjectMetricStatusArgs

data class ObjectMetricStatusArgs(val averageValue: Output<String>? = null, val currentValue: Output<String>, val metricName: Output<String>, val selector: Output<LabelSelectorArgs>? = null, val target: Output<CrossVersionObjectReferenceArgs>) : ConvertibleToJava<ObjectMetricStatusArgs>

ObjectMetricStatus indicates the current value of 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, currentValue: Output<String>, metricName: Output<String>, selector: Output<LabelSelectorArgs>? = null, target: Output<CrossVersionObjectReferenceArgs>)

Properties

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

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

Link copied to clipboard
val currentValue: Output<String>

currentValue is the current value of the metric (as a quantity).

Link copied to clipboard
val metricName: Output<String>

metricName is the name of the metric in question.

Link copied to clipboard
val selector: Output<LabelSelectorArgs>? = null

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, 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.

Functions

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