NetworkPolicy Builder
Generate Kubernetes NetworkPolicy YAML with pod selectors, ingress and egress rules, and optional port restrictions.
Open the tool
Open NetworkPolicy Builder →What it produces
- A NetworkPolicy manifest (apiVersion: networking.k8s.io/v1)
- Pod selector labels that define which workloads the policy applies to
- Ingress and egress rules with namespace or pod selectors
- Optional port restrictions for each direction
Notes
Empty ingress/egress lists mean default deny for that direction. Add selectors to allow traffic from specific namespaces or pods.
Privacy note: everything runs in the browser. Nothing is sent to a server.
