Bird
0
0

What happens to a pod in a Kubernetes service if its readiness probe fails?

medium📝 Command Output Q5 of 15
Kubernetes - Health Checks and Probes
What happens to a pod in a Kubernetes service if its readiness probe fails?
AThe pod continues to receive traffic but logs an error
BThe pod is restarted immediately
CThe pod is removed from the service endpoints and stops receiving traffic
DThe pod scales up to handle more requests
Step-by-Step Solution
Solution:
  1. Step 1: Role of readiness probe

    Readiness probe failure means pod is not ready to serve traffic.
  2. Step 2: Kubernetes behavior

    Pod is removed from service endpoints, so no new traffic is sent.
  3. Final Answer:

    The pod is removed from the service endpoints and stops receiving traffic -> Option C
  4. Quick Check:

    Readiness failure removes pod from service [OK]
Quick Trick: Readiness failure removes pod from service endpoints [OK]
Common Mistakes:
  • Confusing readiness failure with pod restart
  • Assuming pod still receives traffic
  • Thinking pod scales automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kubernetes Quizzes