NetworkPolicies control pod-to-pod and pod-to-network traffic. The NetworkPolicy Rule Builder writes a networking.k8s.io/v1 NetworkPolicy where you declare which ingress and egress traffic is allowed.
You select target pods with matchLabels, pick Ingress and/or Egress, then add rules. Each rule has peers (podSelector, namespaceSelector or ipBlock) and ports (protocol + port). The resulting YAML is valid networking.k8s.io/v1.
Names are validated as RFC 1123 labels and at least one policy type is required. Problems are reported in a clear panel. Everything runs locally and nothing is uploaded.