The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this trafftc?
Solution. a request issued from a pod bearing the tier: api label, to a pod bearing the tier: backend label
The provided Kubernetes NetworkPolicy YAML configuration indicates that the policy applies to pods with the label tier: backend in the default namespace1. The ingress rule allows traffic from pods with the label tier: api1. Therefore, a request issued from a pod bearing the tier: api label to a pod bearing the tier: backend label will not be blocked by this networkPolicy1. This is because the networkPolicy explicitly allows ingress from pods with the tier: api label1. For more information on Kubernetes Network
Limited Time Offer
25%
Off
Chaya
3 months agoSylvia
2 months agoBette
2 months agoLeslie
2 months agoCarmen
2 months agoSharika
3 months agoLinwood
4 months agoDaren
2 months agoMarge
3 months agoGussie
3 months agoClaribel
4 months agoYvette
4 months agoAudria
4 months agoDell
4 months agoKristel
3 months agoAntione
4 months agoPhuong
4 months agoElin
4 months agoClaribel
4 months agoAudria
4 months ago