Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kubernetes_apis/builtin/autoscaling@v2beta1/structs.ts>ExternalMetricSource

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface ExternalMetricSource
import { type ExternalMetricSource } from "https://deno.land/x/kubernetes_apis@v0.3.2/builtin/autoscaling@v2beta1/structs.ts";

ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.

Properties

metricName: string
optional
metricSelector: MetaV1.LabelSelector | null
optional
targetAverageValue: c.Quantity | null
optional
targetValue: c.Quantity | null