Bird
0
0

Why might a Kubernetes service have endpoints listed but still fail to route traffic correctly?

hard📝 Conceptual Q10 of 15
Kubernetes - Troubleshooting
Why might a Kubernetes service have endpoints listed but still fail to route traffic correctly?
APods have no resource limits set
BThe service selector is incorrect
CNetwork policies or firewall rules block traffic
DThe service type is NodePort
Step-by-Step Solution
Solution:
  1. Step 1: Understand endpoints vs traffic flow

    Endpoints show pods matched by selector, but traffic can still be blocked by network policies or firewalls.
  2. Step 2: Rule out selector and service type issues

    Incorrect selector means no endpoints. NodePort type does not block traffic by itself. Resource limits do not affect routing.
  3. Final Answer:

    Network policies or firewall rules block traffic -> Option C
  4. Quick Check:

    Endpoints exist but traffic blocked by network policies [OK]
Quick Trick: Endpoints exist but network policies can block traffic [OK]
Common Mistakes:
  • Assuming endpoints guarantee traffic flow
  • Blaming service type without checking policies
  • Confusing resource limits with connectivity

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes