Skip to main content

Network Policy Builder

v1.2.1

Generate Kubernetes NetworkPolicy YAML for ingress and egress rules.

Generates Kubernetes NetworkPolicy YAML for ingress and egress rules — restrict pod communication by namespace, pod label selector, port, and protocol.

How to use
  • Select whether you're defining ingress, egress, or both policies.
  • Set pod and namespace selectors, allowed ports, and protocols.
  • Copy the generated YAML and apply it to your cluster with kubectl apply.

No rules added yet. An empty ingress/egress section will allow all traffic for that direction.

Configure your policy and click Generate to see the YAML output.