WARNING
This stack is a starting point for building a distributed and scalable stack with Kubernetes. It runs locally with Minikube, but it can be modified to use AWS or GCE. Any contribution in this direction would be appreciated.
- kubectl https://kubernetes.io/docs/tasks/tools/install-kubectl/
- minikube https://kubernetes.io/docs/tasks/tools/install-minikube/
- Define your passwords in kubernetes/secrets.yaml, encrypted in base64:
echo -n "MYPASSWORD" | base64
For Jenkins encrypt:
--argumentsRealm.passwd.jenkins=MYPASSWORD --argumentsRealm.roles.jenkins=admin
- Start the stack
./scripts/start-and-create.sh
- Create local persistent volumes
./scripts/create-persistent-volumes.sh
- Clone your repository into the stack (set 'mysql' as database host)
./scripts/clone-my-repository.sh
./scripts/stop-and-delete.sh