ExternalMetricSource

com.coralogix.zio.k8s.model.autoscaling.v2beta1.ExternalMetricSource
See theExternalMetricSource companion object
case class ExternalMetricSource(metricName: String, metricSelector: Optional[LabelSelector], targetAverageValue: Optional[Quantity], targetValue: Optional[Quantity])

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.

Attributes

metricName

metricName is the name of the metric in question.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

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.

Attributes

Gets metricSelector.

Gets metricSelector.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets targetAverageValue.

Gets targetAverageValue.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Gets targetValue.

Gets targetValue.

If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.

Attributes

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product