- Keep /healthz returning 200 if the process is up.
- On /readyz ping DB and queue with short timeouts.
- Point the load balancer at /readyz.
- Align probe timing with graceful shutdown.
- Log probe failures with reason codes.
Tutorial
Implement /readyz that checks dependencies
Liveness stays dumb; readiness fails when DB or queue is down.