All faults / Network & edge
DNS blackhole: chaos experiment
Cuts the target pods off from cluster DNS. The most common real outage nobody rehearses: everything looks healthy until a connection needs a fresh lookup.
What it tests
DNS caching, connection reuse, dependency failure handling
DNS caching, connection reuse, dependency failure handling
The hypothesis holds when
Cached lookups and kept-alive connections carry traffic through the outage.
Cached lookups and kept-alive connections carry traffic through the outage.
It breaks when
Every new connection needs a fresh lookup, so errors begin as soon as a pooled connection is recycled.
Every new connection needs a fresh lookup, so errors begin as soon as a pooled connection is recycled.
Reference
The same fault in other tools
- Chaos Mesh: DNSChaos · error
- LitmusChaos: pod-dns-error
- ChaosBlade: blade create k8s pod-network dns
- Chaos Monkey: no equivalent
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.