This is a demo app to showcase orchestrating Docker with Kubernetes. You can find more at my post.
- Run backend
kubectl create -f backend.yaml
- Run frontend
kubectl create -f frontend.yaml
- Self-healing
Delete a random pod and see Kubernetes creates a new one.
kubectl delete pod frontend-2747139405-bk4ul; kubectl get pods
- Scaling
kubectl scale deployment/frontend --replicas=6; kubectl get pods
- Rolling update
kubectl create -f frontend-canary.yaml
vim frontend.yaml # update simple-node:v1 to simple-node:v2
kubectl apply -f frontend.yaml