NetworkPolicy
By default, all Pods accept traffic from any source. NetworkPolicy restricts communications.
Create NetworkPolicy
Go to NetworkPolicy page → click ➕
Set name and ingress/egress rules:
Apply or Exclude IP Ranges (CIDR)
Set allowed Ports
If ingress/egress rules are not needed, you can directly select [Allow All Ingress/Egress].
Select the target Pod. If no selection is made, the rules will apply to all Pods.
Click Create



Last updated