Kubernetes 101 : Network security policy of Pods - NetworkPolicy -
pods will accept all the connections, regardless of the source.
To prevent that from happening, we could use network policies to specify which connections pods accept or reject.
Below is an example of a network policy and its Yaml file:
Comments