External Metric Source
data class ExternalMetricSource(val metricName: String, val metricSelector: LabelSelector? = 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
fun ExternalMetricSource(metricName: String, metricSelector: LabelSelector? = null, targetAverageValue: String? = null, targetValue: String? = null)