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/models/deployment/models.js

27 lines
517 B

/**
* KubernetesDeployment Model
*/
const _KubernetesDeployment = Object.freeze({
Namespace: '',
Name: '',
StackName: '',
ReplicaCount: 0,
ImageModel: null,
Env: [],
CpuLimit: 0,
MemoryLimit: 0,
VolumeMounts: [],
Volumes: [],
Secret: undefined,
ApplicationName: '',
ApplicationOwner: '',
Note: '',
Affinity: undefined, // KubernetesPodAffinity
});
export class KubernetesDeployment {
constructor() {
Object.assign(this, JSON.parse(JSON.stringify(_KubernetesDeployment)));
}
}