-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
1,165 additions
and
666 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
PULL_POLICY = [ | ||
('Always', 'Always'), | ||
('IfNotPresent', 'IfNotPresent'), | ||
('Never', 'Never') | ||
] | ||
|
||
RESTART_POLICY = [ | ||
('Always', 'Always'), | ||
('OnFailure', 'OnFailure'), | ||
('Never', 'Never') | ||
] | ||
|
||
byte_units = { | ||
"E": 1000**6, "P": 1000**5, "T": 1000**4, | ||
"G": 1000**3, "M": 1000**2, "K": 1000, | ||
"Ei": 1024**6, "Pi": 1024**5, "Ti": 1024**4, | ||
"Gi": 1024**3, "Mi": 1024**2, "Ki": 1024 | ||
} |
461 changes: 461 additions & 0 deletions
461
django_kubernetes_manager/migrations/0003_auto_20200403_1847.py
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from .base import (KubernetesContainer, KubernetesDeployment, | ||
KubernetesIngress, KubernetesJob, KubernetesNamespace, | ||
KubernetesPodTemplate, KubernetesService, KubernetesVolume, | ||
KubernetesVolumeMount, KubernetesNamespace, KubernetesBase, | ||
KubernetesMetadataObjBase, KubernetesNetworkingBase, | ||
KubernetesConfigMap) | ||
from .base import (KubernetesBase, KubernetesMetadataObjBase, | ||
KubernetesNetworkingBase) | ||
from .kube import (KubernetesConfigMap, KubernetesContainer, | ||
KubernetesDeployment, KubernetesIngress, KubernetesJob, | ||
KubernetesNamespace, KubernetesPodTemplate, | ||
KubernetesService, KubernetesVolume, KubernetesVolumeMount) | ||
from .target_cluster import TargetCluster |
Oops, something went wrong.