Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObjectMetricSourceV2Beta1

ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).

schema

io.k8s.api.autoscaling.v2beta1.ObjectMetricSource

Hierarchy

  • ObjectMetricSourceV2Beta1

Index

Properties

Optional Readonly averageValue

averageValue: Quantity

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

schema

io.k8s.api.autoscaling.v2beta1.ObjectMetricSource#averageValue

Readonly metricName

metricName: string

metricName is the name of the metric in question.

schema

io.k8s.api.autoscaling.v2beta1.ObjectMetricSource#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.ObjectMetricSource#selector

Readonly target

target is the described Kubernetes object.

schema

io.k8s.api.autoscaling.v2beta1.ObjectMetricSource#target

Readonly targetValue

targetValue: Quantity

targetValue is the target value of the metric (as a quantity).

schema

io.k8s.api.autoscaling.v2beta1.ObjectMetricSource#targetValue

Generated using TypeDoc