ContainerResourceMetricStatus

case class ContainerResourceMetricStatus(container: String, current: MetricValueStatus, name: String)

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.

Value Params
container

Container is the name of the container in the pods of the scaling target

name

Name is the name of the resource in question.

Companion
object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def getContainer: IO[K8sFailure, String]

Container is the name of the container in the pods of the scaling target

Container is the name of the container in the pods of the scaling target

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

Gets current.

Gets current.

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

def getName: IO[K8sFailure, String]

Name is the name of the resource in question.

Name is the name of the resource in question.

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

Inherited methods

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