All faults / Delivery & security
NetworkPolicy blocks DNS: chaos experiment
A new default-deny NetworkPolicy ships without an egress rule for DNS. Everything looks healthy until a connection needs a fresh lookup.
What it tests
default-deny policies, DNS egress rules, caching
default-deny policies, DNS egress rules, caching
The hypothesis holds when
Lookups are cached on the node and connections are kept alive, and the policy is tested first.
Lookups are cached on the node and connections are kept alive, and the policy is tested first.
It breaks when
New connections cannot resolve names.
New connections cannot resolve names.
Reference
The same fault in other tools
- Chaos Mesh: no equivalent
- LitmusChaos: no equivalent
- ChaosBlade: no equivalent
- 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
Simulator only today. Export it as a manifest from the Export tab.