NestJS Graceful Shutdown: Draining Requests and Queues on SIGTERM
Go beyond enableShutdownHooks(): order readiness, HTTP connection draining, queue consumers and timeouts so NestJS pods exit cleanly on Kubernetes SIGTERM.
14 min read
Tag
Go beyond enableShutdownHooks(): order readiness, HTTP connection draining, queue consumers and timeouts so NestJS pods exit cleanly on Kubernetes SIGTERM.
14 min read
Learn how liveness, readiness, and startup probes work with SIGTERM handling and connection draining to deliver zero-downtime container deploys.
14 min read