Shutting down without cutting streams

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

You deploy a small change during the afternoon, and a handful of users see answers stop halfway through a sentence. Nothing crashed. Kubernetes did exactly what you asked, and a stream that was ten seconds from done was simply cut.

Model requests last long enough that shutdown needs real design, not just the default settings that Kubernetes ships with. Here is the sequence, and the three settings that tame it.

The rest of this lesson

  • What happens on delete
  • Three settings
  • Rollouts need a spare gpu
  • The trade

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.