c
com.coralogix.zio.k8s.model.autoscaling.v2beta2
PodsMetricSource
Companion object PodsMetricSource
case class PodsMetricSource(metric: MetricIdentifier, target: MetricTarget) extends Product with Serializable
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.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PodsMetricSource
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PodsMetricSource(metric: MetricIdentifier, target: MetricTarget)
Value Members
-
def
getMetric: IO[K8sFailure, MetricIdentifier]
Gets metric.
Gets metric.
This effect always succeeds, it is safe to use the field metric directly.
-
def
getTarget: IO[K8sFailure, MetricTarget]
Gets target.
Gets target.
This effect always succeeds, it is safe to use the field target directly.
- val metric: MetricIdentifier
- val target: MetricTarget