You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
portainer/app/kubernetes/horizontal-pod-auto-scaler/models.js

24 lines
472 B

/**
* KubernetesHorizontalPodAutoScaler Model
*/
const _KubernetesHorizontalPodAutoScaler = Object.freeze({
Id: '',
Namespace: '',
Name: '',
MinReplicas: 1,
MaxReplicas: 1,
targetCpuUtilizationPercentage: 0,
TargetEntity: {
ApiVersion: '',
Kind: '',
Name: '',
},
Yaml: '',
});
export class KubernetesHorizontalPodAutoScaler {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesHorizontalPodAutoScaler)));
}
}