MetricStatus describes the last-read state of a single metric.
MetricStatus describes the last-read state of a single metric.
- Value Params
- type
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
- Companion
- object
Value members
Concrete methods
Gets containerResource.
Gets containerResource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets external.
Gets external.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets object.
Gets object.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets pods.
Gets pods.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
Gets resource.
Gets resource.
If the field is not present, fails with com.coralogix.zio.k8s.client.UndefinedField.
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object. Note: "ContainerResource" type is available on when the feature-gate HPAContainerMetrics is enabled
This effect always succeeds, it is safe to use the field type directly.