Demo of Chaos Engineering with Istio, Kubernetes and Spring Boot based on Benjamin Wilms' Chaos Monkey for Spring Boot demo.
- Clone repository
git clone https://github.com/denniseffing/chaos-monkey-spring-boot-demo.git
- Checkout istio branch
git checkout istio
- Start up minikube cluster
minikube start --memory=6144 --cpus=4
- Install Istio into the cluster
istioctl manifest apply --set profile=demo --wait
- Deploy shopping demo to cluster
kubectl apply -f ./k8s
- Apply Istio configuration for shopping demo
kubectl apply -f ./istio
- Enable loadbalanced services for minikube (keep process running in the background)
minikube tunnel
- Retrieve IP of Istio's ingressgateway
kubectl -n istio-system get service istio-ingressgateway -o jsonpath='{.status.loadBalancer.ingress[0].ip}'
- Add IP to hosts file of your OS using hostname
shopping.demo
- Access shopping demo at
shopping.demo/startpage>