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