NetworkPolicy

By default, all Pods accept traffic from any source. NetworkPolicy restricts communications.

Create NetworkPolicy

  1. Go to NetworkPolicy page → click

  2. Set name and ingress/egress rules:

    • Apply or Exclude IP Ranges (CIDR)

    • Set allowed Ports

  3. If ingress/egress rules are not needed, you can directly select [Allow All Ingress/Egress].

  4. Select the target Pod. If no selection is made, the rules will apply to all Pods.

  5. Click Create

Last updated