External Metric Source Patch
data class ExternalMetricSourcePatch(val metricName: String? = null, val metricSelector: LabelSelectorPatch? = null, val targetAverageValue: String? = null, val targetValue: String? = null)
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: String? = null, metricSelector: LabelSelectorPatch? = null, targetAverageValue: String? = null, targetValue: String? = null)
Properties
Link copied to clipboard
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
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
Link copied to clipboard
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.