Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PodsMetricSourceV2Beta1

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.

schema

io.k8s.api.autoscaling.v2beta1.PodsMetricSource

Hierarchy

  • PodsMetricSourceV2Beta1

Index

Properties

Readonly metricName

metricName: string

metricName is the name of the metric in question

schema

io.k8s.api.autoscaling.v2beta1.PodsMetricSource#metricName

Optional Readonly selector

selector: LabelSelector

selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.

schema

io.k8s.api.autoscaling.v2beta1.PodsMetricSource#selector

Readonly targetAverageValue

targetAverageValue: Quantity

targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)

schema

io.k8s.api.autoscaling.v2beta1.PodsMetricSource#targetAverageValue

Generated using TypeDoc