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

x/kubernetes_apis/builtin/autoscaling@v2/structs.ts>MetricSpec

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

MetricSpec specifies how to scale based on a single metric (only type and one other matching field should be set at once).

Properties

optional
containerResource: ContainerResourceMetricSource | null
optional
external: ExternalMetricSource | null
optional
object: ObjectMetricSource | null
optional
pods: PodsMetricSource | null
optional
resource: ResourceMetricSource | null
type: string