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

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

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

HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.

Properties

optional
policies: Array<HPAScalingPolicy> | null
optional
selectPolicy: string | null
optional
stabilizationWindowSeconds: number | null