export PROJECT_DIR=~/project/kubeatl/kubelab
mkdir -p ${PROJECT_DIR}
cd ${PROJECT_DIR}
git clone https://github.com/dmilan77/kubernetes-engine-samples.git
cd ${PROJECT_DIR}/kubernetes-engine-samples/guestbook
cd ${PROJECT_DIR}/kubernetes-engine-samples/guestbook
kubectl apply -f redis-master-controller.yaml
kubectl apply -f redis-master-service.yaml
kubectl apply -f redis-slave-controller.yaml
kubectl apply -f redis-slave-service.yaml
kubectl apply -f frontend-controller.yaml
kubectl apply -f frontend-service.yaml
Created
August 7, 2019 19:48
-
-
Save dmilan77/e0cea20d139d0dc2353c6dc70bdafb0f to your computer and use it in GitHub Desktop.
2c. Bonus Lab
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment