Probes for slow pods

Lesson 7 of 28 · Weights, images and slow starts · 2 min Get the course to watch

A new model pod starts, spends several minutes loading weights, gets killed by Kubernetes for not responding, and starts again. It never becomes ready, and the logs show a perfectly healthy pod being murdered mid-load.

The cause is almost always a liveness probe written for a fast web app. A model server needs three probes, each with a different job, and the first of them is the one most teams leave out.

The rest of this lesson

  • The failing loop
  • The startup probe
  • Readiness and liveness
  • Check your own server

The full lesson is animated and narrated, with a short quiz, and you can pause it to ask a question. It comes with Run AI in production on Kubernetes.