Lion Cipher Lab

Build a pod reachability matrix in YOUR OWN kind cluster and diff it after default-deny

Why it matters

People say the network is segmented and mean they wrote a policy. An assessor asks a harder question: did it change what can actually connect? Kubernetes allows all pod traffic by default, a NetworkPolicy only matters if the network plugin enforces it, and policies protect only the namespace they live in. A measured matrix, before and after, answers all three at once and is the kind of evidence a reviewer will accept.

What you'll learn

Steps in this lab

  1. The question, and the rule
  2. Add namespaces and pods to measure
  3. Write the measuring script
  4. Run it: the before matrix
  5. Test the tester: a known-closed port must say blocked
  6. Apply default-deny ingress to data, then allow one path
  7. Run again and diff: what did the policy really change?
  8. What a matrix proves and what it does not
  9. The defender's view

Open the full interactive lab →

Keep learning