import { type HPAScalingRules } from "https://deno.land/x/kubernetes_apis@v0.5.3/builtin/autoscaling@v2/mod.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