Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
interface MetricSpec
import { type MetricSpec } from "https://deno.land/x/kubernetes_apis@v0.5.0/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