I am testing Project Calico on a small Kubernetes cluster and I try to figure out which one between "global policy" and "network policy" will be applied to the data stream first.
What I understand:
- the data path with Calico is that the pod's host is always the next hop and then filtered with iptables
- policies (network and global) can have priority (the lower priority will be applied before)
I did many tests but sometimes global network policy take precedence over network policy and sometimes it is exactly the opposite.
Can you explain me and tell me if I am wrong somewhere?
Thank you!
