What is the role of a NetworkPolicy in Kubernetes?
What is the role of a NetworkPolicy in Kubernetes?
A NetworkPolicy in Kubernetes is used to define how groups of pods are allowed to communicate with each other and other network endpoints. One of its primary roles is to classify pods as isolated and non-isolated, thus determining which pods can receive and send traffic to other pods or network endpoints.
B https://kubernetes.io/docs/concepts/services-networking/network-policies/#the-two-sorts-of-pod-isolation:~:text=There%20are%20two,pod%20to%20another.
B corret. https://kubernetes.io/docs/concepts/services-networking/network-policies/#the-two-sorts-of-pod-isolation