case class ObjectMetricSource(averageValue: Optional[Quantity], metricName: String, selector: Optional[LabelSelector], target: CrossVersionObjectReference, targetValue: Quantity)
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
- Value parameters:
- metricName
metricName is the name of the metric in question.
- Companion:
- object
Value members
Concrete methods
Gets averageValue.
Gets averageValue.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
metricName is the name of the metric in question.
metricName is the name of the metric in question.
This effect always succeeds, it is safe to use the field metricName directly.
Gets selector.
Gets selector.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.