// diagrams › kubernetes
Kubernetes NetworkPolicy: prompt boundaries and allowed traffic
A Kubernetes NetworkPolicy diagram should explain which traffic is intended to be allowed, without making a namespace look like a firewall appliance. This example uses a booking application to distinguish visual grouping, workload selection and the connections an operator needs to verify.
Opens a copy in the editor, in a new tab, ready to change. No account needed.
What’s in this diagram
services and parts
- Default deny + explicit allowances
- Browser
- Frontend workload
- Reservations Service
- Reservations pods
- Database Service
- Database pod
- Cluster DNS
groups
- Kubernetes cluster
- frontend namespace
- reservations namespace
- data namespace
Key points
- Namespace containers make ownership clear but do not enforce isolation.
- Keep policy relationships separate from permitted application traffic.
- Show DNS as an explicit dependency rather than an invisible exception.
The whole story, step by step: Kubernetes NetworkPolicy: prompt boundaries and allowed traffic.


