PodsMetricSource

case class PodsMetricSource(metricName: String, selector: Optional[LabelSelector], targetAverageValue: Quantity)

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.

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

Gets selector.

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

Gets targetAverageValue.

Gets targetAverageValue.

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

Inherited methods

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