All faults / Compute & platform
Node drain: chaos experiment
Cordons a node and evicts its pods. Whether this hurts depends entirely on whether the rest of the cluster has room to take them.
What it tests
PodDisruptionBudgets, spare capacity, rescheduling time
PodDisruptionBudgets, spare capacity, rescheduling time
The hypothesis holds when
A budget paces the eviction and the other nodes have room to take the pods.
A budget paces the eviction and the other nodes have room to take the pods.
It breaks when
No budget: every pod on the busiest node goes at once, and the rest of the cluster is already full.
No budget: every pod on the busiest node goes at once, and the rest of the cluster is already full.
Reference
The same fault in other tools
- Chaos Mesh: no equivalent
- LitmusChaos: node-drain
- ChaosBlade: no equivalent
- Chaos Monkey: Instance termination of the node
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.