UNPKG

kubernetes-models

Version:
10 lines (9 loc) 760 B
import { Model, setSchema } from "@kubernetes-models/base"; import { addSchema } from "../../_schemas/IoK8sApiAutoscalingV2HPAScalingRules.mjs"; /** * 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. */ export class HPAScalingRules extends Model { } setSchema(HPAScalingRules, "io.k8s.api.autoscaling.v2.HPAScalingRules", addSchema); export { HPAScalingRules as IoK8sApiAutoscalingV2HPAScalingRules };