ObjectMetricSource

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

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.

Gets target.

Gets target.

This effect always succeeds, it is safe to use the field target directly.

Gets targetValue.

Gets targetValue.

This effect always succeeds, it is safe to use the field targetValue directly.

Inherited methods

Inherited from:
Product