case class ResourceMetricSource(name: String, target: MetricTarget) extends Product with Serializable

ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. 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. Only one "target" type should be set.

name

name is the name of the resource in question.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceMetricSource
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResourceMetricSource(name: String, target: MetricTarget)

    name

    name is the name of the resource in question.

Value Members

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

  2. def getTarget: IO[K8sFailure, MetricTarget]

    Gets target.

    Gets target.

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

  3. val name: String
  4. val target: MetricTarget