com.coralogix.zio.k8s.model.autoscaling.v2.MetricSpec
See theMetricSpec companion object
case class MetricSpec(containerResource: Optional[ContainerResourceMetricSource], external: Optional[ExternalMetricSource], `object`: Optional[ObjectMetricSource], pods: Optional[PodsMetricSource], resource: Optional[ResourceMetricSource], `type`: String)
MetricSpec specifies how to scale based on a single metric (only type
and one other matching field should be set at once).
Value parameters
- type
-
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
In this article