The Kubernetes yaml shown below describes a networkPolicy.
Will the networkPolicy BLOCK this traffic?
Solution: a request issued from a pod lacking 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 only the tier: frontend label to a pod bearing the tier: backend label will be blocked by this networkPolicy1. This is because the networkPolicy does not have a rule allowing ingress from pods with the tier: frontend label1. For more information on Kubernetes NetworkPolicies, you can refer to the Kubernetes Documentation on Network Policies.
Limited Time Offer
25%
Off
Wayne
1 months agoJolene
1 months agoEzekiel
17 days agoRosio
24 days agoWeldon
1 months agoYoulanda
2 months agoJacklyn
3 days agoTamra
4 days agoBernardine
5 days agoNoe
17 days agoGerry
2 months agoTawny
2 months agoMilly
2 months agoDomonique
3 months ago