Tagged articles

Graceful Termination

2 articles · Page 1 of 1
Linux Cloud-Native Ops Stack
Linux Cloud-Native Ops Stack
Apr 23, 2026 · Cloud Native

Kubernetes Interview: What Exactly Happens When You Delete a Pod?

When a pod is deleted in Kubernetes, the API server timestamps the request, services stop routing traffic, kubelet runs any preStop hook, sends SIGTERM followed by a configurable grace period, then SIGKILL if needed, cleans up resources, and finally removes the pod metadata, with controllers optionally recreating a replacement pod.

DeploymentGraceful TerminationKubernetes
0 likes · 7 min read
Kubernetes Interview: What Exactly Happens When You Delete a Pod?
Cloud Architecture
Cloud Architecture
Apr 20, 2026 · Cloud Native

From 502 Errors to Zero Loss: Production‑Ready Graceful Termination of Kubernetes Pods

The article explains why 502/499 errors still appear during rolling updates, analyzes the misalignment between traffic removal and process exit, and provides a production‑grade, four‑stage termination protocol with concrete Kubernetes configurations, Go and Spring implementations, observability metrics, and validation practices.

Graceful TerminationKubernetesPod Lifecycle
0 likes · 30 min read
From 502 Errors to Zero Loss: Production‑Ready Graceful Termination of Kubernetes Pods