Hello All, I have been trying these network policy examples in kodekloud environ . . .

Sunil:
Hello All, I have been trying these network policy examples in kodekloud environment but it’s not blocking anything. https://github.com/ahmetb/kubernetes-network-policy-recipes/blob/master/01-deny-all-traffic-to-an-application.md
I tried all the steps but still, it’s allowing all the traffic from all the namespaces. Do I need to do anything else apart from the given steps? Thanks

Vijin Palazhi:
which lab are you trying this on?

Only a few of our labs use weave CNI. The others use flannel which does not enforce network policy

Sunil:
Thanks, @Vijin Palazhi Yes it’s working where labs have weave CNI installed. :+1: