Prove Graceful Shutdown
Every deploy drops requests because SIGTERM never reaches the application. Find it in the exit code, fix PID 1, and prove the stop is clean.
Project labintermediate~35 minFree
What you'll do
- ✓Read an exit code as evidence of how a container died
- ✓Make the application PID 1 so it receives signals
- ✓Handle SIGTERM and drain before exiting
- ✓Add a health check that exercises the request path
Lab outline
- 01The evidence
- 02The fix
- 03Health
Before you start
- Health and Resource Limits
Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.