ObjectMetricStatusPatch

data class ObjectMetricStatusPatch(val averageValue: String? = null, val currentValue: String? = null, val metricName: String? = null, val selector: LabelSelectorPatch? = null, val target: CrossVersionObjectReferencePatch? = null)

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: String? = null, currentValue: String? = null, metricName: String? = null, selector: LabelSelectorPatch? = null, target: CrossVersionObjectReferencePatch? = null)

Types

Link copied to clipboard
object Companion

Properties

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

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

Link copied to clipboard
val metricName: String? = null

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 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.