Hello, Question from Network Policies. In the lecture it was explained that the . . .

Nitesh Walia:
Hello, Question from Network Policies. In the lecture it was explained that the moment we apply any network policy on the pod, it is restricted to that network policy and stop all other traffic so my question is do we still need to define default-deny network policy on the pod in the first place?

unnivkn:
No… you don’t need to define any default deny rule. Once you apply the allow rule in a Netpol, anything other than that will automatically act as Deny.