- minikube start
- kubectl apply -f db
- kubectl apply -f app
- kubectl apply -f dbreader
- kubectl logs -f dbreader-......
-> check app operational
- kubectl get pods -n chaos-testing
-> see 5 chaos-mesh pods running 1/1
- kubectl get deploy chaos-dashboard -n chaos-testing -o jsonpath="{.spec.template.spec.containers[0].ports[0].containerPort}{'\n'}"
- kubectl port-forward -n chaos-testing chaos-dashboard-d6bf67bf7-vzzz2 8888:2333
- localhost:8888
- Follow token (manager!) instructions
- Do chaos stuff
- pod kill
- latency to db from app
- pod failure (30s)
- schedule pod kill every minute via * * * * *
- kubectl delete deployments app dbreader
- kubectl delete sts db
- kubectl delete svc db
- kubectl delete configmap db-configmap-cnf
- kubectl delete serviceaccount account-default-manager-.....
- kubectl delete role role-default-manager-....
- kubectl delete rolebinding bind-default-manager-......