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. -- KubeInvaders
Kube Monkey is an implementation of Netflix’s chaos monkey for Kubernetes clusters. It periodically schedules a list of Pod termination events to test the fault tolerance of your highly available system.
You will learn how to:
- Install Kube Monkey onto Kubernetes
- Enable Kube Monkey demo mode to quickly see it in action
- Install and label applications to make them eligible targets for chaos
Kube Monkey can be one of the tools in your toolbox 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
References
- Kube Monkey
- Principles of Chaos Engineering
- Fallacies of Distributed Computing Explained (PDF)
- Kube Monkey Slack Channel: #kube-monkey
For a deeper understanding of these topics and more join
Jonathan Johnson
at various conferences, symposiums, workshops, and meetups.
Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist

Steps
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 && \
kubectl cluster-info
The Helm package manager used for installing applications on Kubernetes is also available.
helm version --short
Kubernetes Dashboard
You can administer your cluster with the kubectl
CLI tool or use the visual Kubernetes Dashboard. Use this script to access the protected Dashboard.
token.sh