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
21 days agoSharika
22 days agoLinwood
22 days agoMarge
14 days agoGussie
16 days agoClaribel
28 days agoYvette
1 months agoAudria
1 months agoDell
1 months agoKristel
20 days agoAntione
24 days agoPhuong
25 days agoElin
28 days agoClaribel
1 months agoAudria
2 months ago