mirror of https://github.com/portainer/portainer
54 lines
1.4 KiB
JavaScript
54 lines
1.4 KiB
JavaScript
export const KubernetesApplicationDeploymentTypes = Object.freeze({
|
|
REPLICATED: 1,
|
|
GLOBAL: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationDataAccessPolicies = Object.freeze({
|
|
SHARED: 1,
|
|
ISOLATED: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationTypes = Object.freeze({
|
|
DEPLOYMENT: 1,
|
|
DAEMONSET: 2,
|
|
STATEFULSET: 3,
|
|
POD: 4,
|
|
HELM: 5,
|
|
});
|
|
|
|
export const KubernetesApplicationTypeStrings = Object.freeze({
|
|
HELM: 'Helm',
|
|
DEPLOYMENT: 'Deployment',
|
|
DAEMONSET: 'DaemonSet',
|
|
STATEFULSET: 'StatefulSet',
|
|
POD: 'Pod',
|
|
});
|
|
|
|
export const KubernetesApplicationPublishingTypes = Object.freeze({
|
|
CLUSTER_IP: 1,
|
|
NODE_PORT: 2,
|
|
LOAD_BALANCER: 3,
|
|
});
|
|
|
|
export const KubernetesApplicationPlacementTypes = Object.freeze({
|
|
PREFERRED: 1,
|
|
MANDATORY: 2,
|
|
});
|
|
|
|
export const KubernetesApplicationQuotaDefaults = {
|
|
CpuLimit: 0.1,
|
|
MemoryLimit: 64, // MB
|
|
};
|
|
|
|
export const KubernetesPortainerApplicationStackNameLabel = 'io.portainer.kubernetes.application.stack';
|
|
|
|
export const KubernetesPortainerApplicationStackIdLabel = 'io.portainer.kubernetes.application.stackid';
|
|
|
|
export const KubernetesPortainerApplicationKindLabel = 'io.portainer.kubernetes.application.kind';
|
|
|
|
export const KubernetesPortainerApplicationNameLabel = 'io.portainer.kubernetes.application.name';
|
|
|
|
export const KubernetesPortainerApplicationOwnerLabel = 'io.portainer.kubernetes.application.owner';
|
|
|
|
export const KubernetesPortainerApplicationNote = 'io.portainer.kubernetes.application.note';
|