- Home
- All questions
- Question 759
CKA study material · question 759 of 1000
Pod A's namespace has a default-deny egress policy. Pod B's namespace has an ingress policy explicitly allowing A. Can A reach B?
Show the answer
Answer: D. No; A's egress rules must permit it too
A connection needs the source's egress policy and the destination's ingress policy both to allow it; either side refusing is enough to stop it.
Source: Network Policies (Kubernetes) — The two sorts of pod isolation