42 lines
1.5 KiB
JavaScript
42 lines
1.5 KiB
JavaScript
"use strict";
|
|
/**
|
|
* Kubernetes
|
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
*
|
|
* The version of the OpenAPI document: v1.22.2
|
|
*
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.V2beta2HPAScalingRules = void 0;
|
|
/**
|
|
* 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 V2beta2HPAScalingRules {
|
|
static getAttributeTypeMap() {
|
|
return V2beta2HPAScalingRules.attributeTypeMap;
|
|
}
|
|
}
|
|
exports.V2beta2HPAScalingRules = V2beta2HPAScalingRules;
|
|
V2beta2HPAScalingRules.discriminator = undefined;
|
|
V2beta2HPAScalingRules.attributeTypeMap = [
|
|
{
|
|
"name": "policies",
|
|
"baseName": "policies",
|
|
"type": "Array<V2beta2HPAScalingPolicy>"
|
|
},
|
|
{
|
|
"name": "selectPolicy",
|
|
"baseName": "selectPolicy",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"name": "stabilizationWindowSeconds",
|
|
"baseName": "stabilizationWindowSeconds",
|
|
"type": "number"
|
|
}
|
|
];
|
|
//# sourceMappingURL=v2beta2HPAScalingRules.js.map
|