Readiness and Liveness Probes

Talk it through out loud with your AI coach.

The problem

  • medium
  • Pro

Your pods receive traffic before they've finished warming up, and one pod got stuck but was never restarted. Explain readiness and liveness probes and how you'd configure them for this app.

What a strong answer covers

  • The different question each kind of probe answers and what Kubernetes does when it fails.
  • Which probe addresses each of the two problems in the scenario.
  • What a sensible health check should and shouldn't depend on.
  • How to give a slow-starting app time before checks begin to count.

Common mistake: Pointing the liveness check at shared dependencies, so one outage restarts every pod at once.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud