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
The hypothesis holds when
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.

Reference

The same fault in other tools

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.