All faults / Compute & platform
Pod kill: chaos experiment
Evicts a random sample of matching pods. If a PodDisruptionBudget would drop the workload below its floor, the eviction is refused โ which is a pass, not a failure.
What it tests
ReplicaSet self-healing, PodDisruptionBudgets, startup time
ReplicaSet self-healing, PodDisruptionBudgets, startup time
The hypothesis holds when
Replacements are scheduled and ready before the next request notices, or a PodDisruptionBudget refuses the eviction.
Replacements are scheduled and ready before the next request notices, or a PodDisruptionBudget refuses the eviction.
It breaks when
Too few replicas, no readiness probe, or no budget: the survivors carry the load and errors spike during startup.
Too few replicas, no readiness probe, or no budget: the survivors carry the load and errors spike during startup.
Reference
The same fault in other tools
- Chaos Mesh: PodChaos ยท pod-kill
- LitmusChaos: pod-delete
- ChaosBlade: blade create k8s pod-pod delete
- Chaos Monkey: Instance termination (Chaos Monkey terminates a random instance; on Kubernetes it acts through Spinnaker)
Generated manifests and commands are on the Export tab. Confirm flags for your version before running them.
Run this experiment in your browser
Runs in the simulator and against a live cluster.