@kubernetes/client-node
Version:
NodeJS client for kubernetes
44 lines • 1.5 kB
JavaScript
/**
* Kubernetes
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: v1.32.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/**
* 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 V2HPAScalingRules {
static getAttributeTypeMap() {
return V2HPAScalingRules.attributeTypeMap;
}
constructor() {
}
}
V2HPAScalingRules.discriminator = undefined;
V2HPAScalingRules.mapping = undefined;
V2HPAScalingRules.attributeTypeMap = [
{
"name": "policies",
"baseName": "policies",
"type": "Array<V2HPAScalingPolicy>",
"format": ""
},
{
"name": "selectPolicy",
"baseName": "selectPolicy",
"type": "string",
"format": ""
},
{
"name": "stabilizationWindowSeconds",
"baseName": "stabilizationWindowSeconds",
"type": "number",
"format": "int32"
}
];
//# sourceMappingURL=V2HPAScalingRules.js.map