ExternalMetricSource

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.

Value Params
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

def getMetricName: IO[K8sFailure, String]

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 metricSelector.

Gets metricSelector.

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

Gets targetAverageValue.

Gets targetAverageValue.

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

Gets targetValue.

Gets targetValue.

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

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product