Bird
0
0

Why might a ClusterIP service fail to route traffic even if pods are running and selectors match?

hard📝 Conceptual Q10 of 15
Kubernetes - Services
Why might a ClusterIP service fail to route traffic even if pods are running and selectors match?
Akube-proxy is not running or misconfigured on nodes
BThe service type must be LoadBalancer for routing
CPods must have hostNetwork enabled for ClusterIP
DClusterIP services require external IPs to function
Step-by-Step Solution
Solution:
  1. Step 1: Identify kube-proxy role in routing

    kube-proxy manages network rules for ClusterIP services; if it is down or misconfigured, routing fails.
  2. Step 2: Check other options for correctness

    Service type LoadBalancer is not required for internal routing, hostNetwork is unrelated, and external IPs are not needed for ClusterIP.
  3. Final Answer:

    kube-proxy is not running or misconfigured on nodes -> Option A
  4. Quick Check:

    kube-proxy must run for ClusterIP routing [OK]
Quick Trick: Ensure kube-proxy runs for ClusterIP routing [OK]
Common Mistakes:
  • Thinking LoadBalancer type is needed
  • Assuming pods need hostNetwork
  • Believing external IPs are required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes