Bird
0
0

How does a Kubernetes Service maintain stable networking when pods are scaled up or down dynamically?

hard📝 Workflow Q9 of 15
Kubernetes - Services
How does a Kubernetes Service maintain stable networking when pods are scaled up or down dynamically?
AIt disables load balancing during scaling
BIt updates its endpoints list automatically to include all matching pods
CIt requires manual update of Service selectors
DIt assigns new IPs to all pods on scaling
Step-by-Step Solution
Solution:
  1. Step 1: Understand dynamic pod scaling

    Pods can be added or removed dynamically based on load or manual scaling.
  2. Step 2: Service endpoint management

    The Service controller automatically updates the list of endpoints to include all pods matching the selector.
  3. Final Answer:

    It updates its endpoints list automatically to include all matching pods -> Option B
  4. Quick Check:

    Endpoints update = stable networking during scaling [OK]
Quick Trick: Service endpoints auto-update on scaling [OK]
Common Mistakes:
  • Thinking IPs change on scaling
  • Assuming manual selector updates
  • Believing load balancing stops

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes