Around 13:12 your policy is doing OR condition for port 80 v/s AND condition. I think it will allow your pod to get incoming connections from anywhere if they are targeted to port 80 (because of OR condition). I think the question was to implement the AND condition to match pods with given label only to allow to connect to port 80.
Around 13:12 your policy is doing OR condition for port 80 v/s AND condition. I think it will allow your pod to get incoming connections from anywhere if they are targeted to port 80 (because of OR condition). I think the question was to implement the AND condition to match pods with given label only to allow to connect to port 80.
Yes you are right, in the kode kloud, the already restricted both ingress and egress for all pods.