Kubernetes NetworkPolicy
A Kubernetes NetworkPolicy is a Kubernetes resource that controls which network connections Pods may accept and make. It selects Pods by label and lists the allowed sources or destinations (for example, only Pods labelled app=api may reach the database Pods on TCP port 5432). Once a policy selects a Pod, all other traffic in that direction is blocked, provided the cluster's network plugin enforces policies.

See also Kubernetes Node, Kubernetes Node Affinity, Kubernetes Operator, Kubernetes PersistentVolume (PV), Kubernetes PersistentVolumeClaim (PVC), Kubernetes Pod.