Graceful shutdown with Go http servers and Kubernetes rolling updates
This article is a nice read on how to properly shut down Go http servers in Kubernetes. It covers configuring readiness and liveness probes to ensure zero-downtime rolling updates, even addressing issues with distroless containers.