Kubernetes

Explain Network Policies

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

kubernetes.io: "NetworkPolicies are an application-centric construct which allow you to specify how a pod is allowed to communicate with various network "entities"..."

In simpler words, Network Policies specify how pods are allowed/disallowed to communicate with each other and/or other network endpoints.