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
6 months agoSolange
6 months agoLinn
7 months agoOretha
7 months agoCoral
7 months agoAlberta
7 months agoOna
8 months agoStefany
8 months agoMa
8 months agoEmerson
8 months agoDorothy
8 months agoPamella
8 months agoNarcisa
8 months agoValda
8 months agoKandis
8 months agoWayne
1 year agoJolene
1 year agoEzekiel
1 year agoRosio
1 year agoWeldon
1 year agoYoulanda
1 year agoJacklyn
12 months agoTamra
12 months agoBernardine
12 months agoNoe
1 year agoGerry
1 year agoTawny
1 year agoMilly
1 year agoDomonique
1 year ago