Bird
0
0

Why does Kubernetes assign each pod a unique IP address instead of sharing a node IP?

hard📝 Conceptual Q10 of 15
Kubernetes - Networking
Why does Kubernetes assign each pod a unique IP address instead of sharing a node IP?
ATo enable pods to use host ports exclusively
BTo simplify node network configuration
CTo reduce IP address usage in the cluster
DTo allow direct pod-to-pod communication without NAT
Step-by-Step Solution
Solution:
  1. Step 1: Understand pod IP purpose

    Each pod gets a unique IP to allow direct communication without network address translation.
  2. Step 2: Exclude other reasons

    It does not reduce IP usage or simplify node config; host ports are unrelated.
  3. Final Answer:

    To allow direct pod-to-pod communication without NAT -> Option D
  4. Quick Check:

    Unique pod IPs enable direct communication [OK]
Quick Trick: Unique pod IPs avoid NAT for pod communication [OK]
Common Mistakes:
  • Thinking pod IPs reduce IP usage
  • Assuming node IP is shared by pods
  • Confusing pod IP with host port usage

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes