kubernetes-models
Version:
14 lines (13 loc) • 1.03 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.IoK8sApiAutoscalingV2HPAScalingRules = exports.HPAScalingRules = void 0;
const base_1 = require("@kubernetes-models/base");
const IoK8sApiAutoscalingV2HPAScalingRules_1 = require("../../_schemas/IoK8sApiAutoscalingV2HPAScalingRules.js");
/**
* 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.
*/
class HPAScalingRules extends base_1.Model {
}
exports.HPAScalingRules = HPAScalingRules;
exports.IoK8sApiAutoscalingV2HPAScalingRules = HPAScalingRules;
(0, base_1.setSchema)(HPAScalingRules, "io.k8s.api.autoscaling.v2.HPAScalingRules", IoK8sApiAutoscalingV2HPAScalingRules_1.addSchema);