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
9 months agoSolange
9 months agoLinn
10 months agoOretha
10 months agoCoral
10 months agoAlberta
10 months agoOna
11 months agoStefany
11 months agoMa
11 months agoEmerson
11 months agoDorothy
11 months agoPamella
11 months agoNarcisa
11 months agoValda
11 months agoKandis
11 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