
Graceful Shutdown in Node.js Production Services
Most Node.js services silently drop in-flight requests on every deploy. How to handle SIGTERM correctly, drain connections and exit cleanly in Kubernetes.
Tags
15 articles · Page 1 of 2

Most Node.js services silently drop in-flight requests on every deploy. How to handle SIGTERM correctly, drain connections and exit cleanly in Kubernetes.

Configure Kubernetes liveness, readiness and startup probes correctly to prevent cascading failures, avoid restart loops and route traffic only when ready.

A practical guide to GitOps with Flux and ArgoCD: repository structure, drift detection, automated reconciliation and progressive delivery by pull request.

A practical guide to zero-downtime deployment strategies: blue-green deployments, canary releases and rolling updates with automated rollback.

Service mesh architecture through Istio and Linkerd: traffic management, mutual TLS, observability and circuit breaking — and when it is not worth it.

GitOps workflows that manage Kubernetes infrastructure through pull requests with ArgoCD and Flux: repo structure, sync policies, health checks, rollbacks.

Kubernetes resource requests, limits, QoS classes, Horizontal and Vertical Pod Autoscalers and cluster autoscaling, balanced for cost and reliability.

Robust secrets management with HashiCorp Vault, AWS Secrets Manager and sealed secrets: rotation, injection, least privilege and no secret sprawl.

GitOps with ArgoCD for Kubernetes: the application-of-applications pattern, secret handling, drift detection, multi-cluster sync and progressive rollouts.

GitOps workflows built on declarative configuration and Git-driven pipelines that bring version control, auditability and reproducibility to Kubernetes.

Master Kubernetes network policies to control pod-to-pod traffic, implement microsegmentation, and build defense-in-depth for your cluster workloads.

How to set CPU and memory requests and limits in Kubernetes correctly, avoiding OOMKills, CPU throttling and wasted cluster capacity.