forked from openfun/ralph
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨(project) add k3d utils for tray development
Ralph should be self-contained, and helpers are required for Kubernetes-related developments. We've added such helpers to: 1. run a local k3d cluster 2. run arnold commands
- Loading branch information
Showing
5 changed files
with
325 additions
and
2 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 |
---|---|---|
|
@@ -48,3 +48,4 @@ data | |
.team | ||
group_vars | ||
src/tray | ||
k3d-storage |
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
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 @@ | ||
# k3d cluster environment for development purpose | ||
|
||
echo -n "Loading k3d cluster environment... " | ||
|
||
export ARNOLD_DEFAULT_VAULT_PASSWORD=arnold | ||
export ANSIBLE_VAULT_PASSWORD="${ARNOLD_DEFAULT_VAULT_PASSWORD}" | ||
export ARNOLD_IMAGE_TAG=master | ||
export K3D_BIND_HOST_PORT_HTTP=80 | ||
export K3D_BIND_HOST_PORT_HTTPS=443 | ||
export K3D_CLUSTER_NAME=ralph | ||
export K3D_ENABLE_REGISTRY=1 | ||
export K3D_REGISTRY_HOST=registry.127.0.0.1.nip.io | ||
export K3D_REGISTRY_NAME=k3d-registry.127.0.0.1.nip.io | ||
export K3D_REGISTRY_PORT=5000 | ||
export K8S_DOMAIN=$(hostname -I | awk '{print $1}') | ||
export MINIMUM_AVAILABLE_RWX_VOLUME=3 | ||
|
||
echo "done." |
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
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