Kube Monkey on Kubernetes
Adopting chaos engineering strategies for your production environment is useful, because it is the only way to test if a system supports unexpected destructive events.
Kube Monkey is an implementation of Netflix’s chaos monkey for Kubernetes clusters. It periodically schedules a list of pods termination events to test the fault tolerance of your highly available system.
You will learn how:
- to install Kube Monkey onto Kubernetes
- to enable Kube Monkey demo mode to quickly see it in action
- to install and label applications to make them eligible targets for chaos
Kube Monkey can be one of the tools in your in box for approaching testing with Chaos on Kubernetes.
With these steps you have learned:
- ✔ how to install Kube Monkey onto Kubernetes,
- ✔ how to enable Kube Monkey demo mode to quickly see it in action,
- ✔ how to install and label applications to make them eligible targets for chaos.
In the last year we've seen Chaos Engineering move from a much talked-about idea to an accepted, mainstream approach to improving and assuring distributed system resilience. As organizations large and small begin to implement Chaos Engineering as an operational process, we're learning how to apply these techniques safely at scale. The approach is definitely not for everyone, and to be effective and safe, it requires organizational support at scale. -- Thoughtworks Radar
- Kube Monkey
- Principles of Chaos Engineering
- Fallacies of Distributed Computing Explained (PDF)
- Kube Monkey Slack Channel: #kube-monkey
Your Kubernetes Cluster
For this scenario, Katacoda has just started a fresh Kubernetes cluster for you. Verify it's ready for your use.
kubectl version --short && \
kubectl get componentstatus && \
kubectl get nodes && \
The Helm package manager used for installing applications on Kubernetes is also available.
helm version --short
You can administer your cluster with the
kubectl CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.