Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

khaos-monkey

github.com

  • Linux
  • Self-hosted
6.0 Club score Visit github.com

What khaos-monkey is

khaos-monkey is a free, open-source Kubernetes tool that randomly terminates pods according to configured rules. It supports percentage-based kills, fixed pod counts, or killing pods until a chosen number remain. Attack intervals and kill counts can be randomized, and experiments can be scheduled. You can target selected namespaces or individual pods labeled `khaos-enabled: true`; `khaos-enabled: false` opts pods out. Namespaces can be blacklisted, with documented defaults of `kube-system`, `kube-public`, and `kube-node-lease`. Pods are grouped by ReplicaSet by default, while `khaos-group` labels define custom groups. Built in Rust with kube-rs, the project is positioned as a lightweight option for smaller experimental clusters. The README describes deploying a Kubernetes Deployment with the `dagandersen/khaos-monkey:latest` image or running locally with Cargo and a kubeconfig. Installation grants a Kubernetes ClusterRole list and delete permissions for pods and namespaces. It is self-hosted and provides a README and issue tracker.

Who it suits

khaos-monkey suits teams running smaller experimental Kubernetes clusters that need configurable pod termination exercises. More mature infrastructure may require more advanced tooling, according to the project positioning.

Good to know, and what to watch

  • Supports percentage and fixed-count termination
  • Randomizes attack timing and pod counts
  • Namespace and label targeting controls
  • Custom grouping with khaos-group labels
  • Free, open-source, self-hosted
  • Installation grants pod and namespace delete permissions
  • Positioned for smaller experimental clusters
  • No support plan or response commitment stated

The verdict

khaos-monkey offers focused pod-termination experiments with scheduling, targeting, exclusions, and blast-radius controls. Its lightweight design is aimed at smaller test environments rather than mature infrastructure.

What the maker publishes

Built with
The project says it is built in Rust using kube-rs. source
Deployment
The README describes deploying it as a Kubernetes Deployment using the dagandersen/khaos-monkey:latest container image, or running it locally with Cargo and kubeconfig. source
Exclusions
Pods labeled khaos-enabled: false opt out, and namespaces can be blacklisted. source
Grouping
Pods are grouped by ReplicaSet by default, and khaos-group labels can define custom groups. source
Implementation
The project is built in Rust using kube-rs. source
Intended use
The maker describes it as a lightweight, simple option that can suit smaller experimental clusters where more advanced tooling may be cumbersome or resource-intensive. source
Kill modes
It supports percentage, fixed-count, and fixed-number-left pod termination modes. source
Local use
The README says it can be run locally with Cargo and a kubeconfig before deployment to Kubernetes. source
Modes
It supports percentage of pods killed, a fixed number killed, or killing pods until a fixed number remain. source
Namespace exclusions
The CLI supports blacklisted namespaces; its documented defaults are `kube-system`, `kube-public`, and `kube-node-lease`. source
Permissions
The installation example grants a Kubernetes ClusterRole list and delete permissions for pods and namespaces. source
Project positioning
The README presents it as a simple, lightweight option for smaller experimental Kubernetes clusters and says more advanced tooling may suit mature infrastructure better. source
Purpose
khaos-monkey randomly terminates Kubernetes pods according to configured rules and modes. source
Randomization
Options can randomize the number of pods killed and add a random interval between attacks. source
Scheduling
Attack intervals and the number of pods killed can be randomized. source
Support
The opened project page provides its README and issue tracker; it does not state a support plan or response commitment. source
Targeting
It can target pods in selected namespaces or individual pods labeled khaos-enabled: true. source

Checked against the maker's pages on 9 Oct 2026.