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
I'm feeling pretty confident about this one. The networkPolicy is set up to block traffic from pods without the "tier: api" label to pods with the "tier: backend" label, so the answer should be "Yes, the traffic will be blocked."
Okay, let's break this down step-by-step. The networkPolicy is targeting pods with the "tier: backend" label, and the question is asking about a request from a pod without the "tier: api" label. I think the answer is going to be "Yes, the traffic will be blocked."
I think I can figure this out. The networkPolicy seems to be targeting pods with the "tier: backend" label, so I'll need to check if the request is coming from a pod without the "tier: api" label.
I'm not sure about this one. The YAML looks a bit complex, and I'm not totally familiar with how networkPolicies work in Kubernetes. I'll need to think it through carefully.
User 3: The networkPolicy will not block the traffic because it allows requests from pods with the tier: api label to pods with the tier: backend label.
Nancey
7 months agoSolange
7 months agoLinn
8 months agoOretha
8 months agoCoral
8 months agoAlberta
8 months agoOna
9 months agoStefany
9 months agoMa
9 months agoEmerson
9 months agoDorothy
9 months agoPamella
9 months agoNarcisa
9 months agoValda
9 months agoKandis
9 months agoWayne
1 year agoJolene
1 year agoEzekiel
1 year agoRosio
1 year agoWeldon
1 year agoYoulanda
1 year agoJacklyn
1 year agoTamra
1 year agoBernardine
1 year agoNoe
1 year agoGerry
1 year agoTawny
1 year agoMilly
1 year agoDomonique
1 year ago