Bird
0
0

Given this Kubernetes pod spec snippet, what will happen if the readiness probe fails continuously?

medium📝 Analysis Q13 of 15
Microservices - Orchestration with Kubernetes
Given this Kubernetes pod spec snippet, what will happen if the readiness probe fails continuously?
readinessProbe:
  httpGet:
    path: /ready
    port: 8080
  initialDelaySeconds: 5
  periodSeconds: 10
  failureThreshold: 3
AThe pod will be restarted immediately
BThe pod will be marked as not ready and removed from service endpoints
CThe pod will ignore the failure and continue serving traffic
DThe pod will scale up automatically
Step-by-Step Solution
Solution:
  1. Step 1: Understand readiness probe failure effect

    Readiness probe failure marks pod as not ready, so it stops receiving traffic.
  2. Step 2: Differentiate from liveness probe effect

    Liveness probe failure triggers pod restart, readiness does not.
  3. Final Answer:

    The pod will be marked as not ready and removed from service endpoints -> Option B
  4. Quick Check:

    Readiness failure = pod not ready, no restart [OK]
Quick Trick: Readiness failure removes pod from load balancer, no restart [OK]
Common Mistakes:
MISTAKES
  • Confusing readiness failure with pod restart
  • Assuming pod scales automatically on probe failure
  • Ignoring failureThreshold effect

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes