Why "just force delete it" is the wrong default
TL;DR: Check whether the node is healthy, then check for finalizers. Force delete only stateless pods on nodes you have confirmed are gone. For everything else, wait, fix the node, or use the out-of-service taint.
A pod has been sitting in Terminating for twenty minutes. Someone on the team pastes the classic fix into Slack:
kubectl delete pod my-pod --grace-period=0 --force
It works. The pod disappears from kubectl get pods. Everyone moves on. Then, an hour later, you've got two processes writing to the same database row, or a StatefulSet replica that refuses to come back up because a volume is "still attached somewhere."
Force delete is not a universal fix. It tells the API server to stop waiting for confirmation from the node. That is very different from actually terminating the workload, and the gap between those two things is exactly where things go wrong. kubectl even warns you about it:
Warning: Immediate deletion does not wait for confirmation that the running resource has been terminated. The resource may continue to run on the cluster indefinitely.
What actually happens during a normal pod termination
When you delete a pod normally, here's the real sequence:
- The API server sets
deletionTimestampanddeletionGracePeriodSecondson the pod object. It isn't removed yet. - The kubelet on the node sees this, sends
SIGTERMto the containers, and starts the grace period countdown (default 30s, as you'll see reflected inkubectl describe pod). - If containers don't exit in time, the kubelet sends
SIGKILL. - The kubelet tells the container runtime to remove the containers, then unmounts the pod's volumes. (Detaching them from the node is a separate job, handled by the attach/detach controller in the control plane.)
- Only after all of that is confirmed does the kubelet report back and the API server actually removes the pod object.
That last step is the one that stalls. If the kubelet is unreachable, overloaded, crash-looping, or stuck waiting on a CSI driver call, step 5 never fires. The pod object just sits there with a deletionTimestamp in the past. A common variant: the containers already show State: Terminated, Exit Code: 0, but the pod itself still reports Terminating hours later, usually because of a finalizer nobody cleared.
Force delete skips straight to removing the object from etcd. It does not talk to the kubelet. It does not confirm the container is dead. It does not confirm the volume is unmounted. It just erases the bookkeeping and lets the ReplicaSet or StatefulSet controller create a replacement immediately.
The specific failure modes force delete causes
Duplicate running processes
If the kubelet is alive but slow, busy with a backlog or blocked on a hanging syscall, it will usually notice the pod object is gone once it recovers and kill the container. The dangerous case is a partitioned node: it looks NotReady to the control plane, but the original container is still running happily. Force deleting the pod object doesn't kill it. The controller sees the pod gone and schedules a new one, possibly on a different node. Now you have two live instances of the same application doing the same work.
For a stateless web pod behind a load balancer this is mostly harmless. For a worker consuming from a queue, running a batch job, or holding a lock it assumes it owns exclusively, this is a real data integrity problem.
Orphaned volume mounts
This is the one that bites people on EBS, Azure Disk, or any ReadWriteOnce block storage. Detaching a volume is a multi-step dance: the kubelet calls NodeUnpublishVolume and NodeUnstageVolume on the CSI driver, then the attach/detach controller calls ControllerUnpublishVolume against the cloud API. If the kubelet never got the chance to finish this because you force deleted the pod mid-unmount, the volume can stay attached at the cloud provider level for several minutes or longer, even though Kubernetes no longer thinks any pod owns it. (The attach/detach controller eventually force-detaches after a timeout of roughly six minutes, but that's a long time to wait during an incident.)
The new replacement pod gets scheduled, tries to attach the same volume, and fails with something like "volume is already exclusively attached to one node and can't be attached to another." You end up with a pod stuck in ContainerCreating that looks like a completely separate bug, when it's actually a direct consequence of the earlier force delete. Checking kubectl get volumeattachment after a force delete is worth doing out of habit.
StatefulSet split-brain
StatefulSets give you an ordinal identity guarantee: only one pod named mysql-0 should exist and run at a time. That guarantee depends on the kubelet actually confirming the old pod is dead before a replacement with the same identity starts. Force delete removes that confirmation step entirely.
If the node is in a network partition, NotReady from the control plane's point of view but still running fine from its own, force deleting mysql-0 lets the StatefulSet controller spin up a new mysql-0 elsewhere while the original container keeps running, unaware anything changed. Now two processes both believe they're the same stateful identity. For a database or anything doing leader election, that's split-brain, and it's exactly why the Kubernetes documentation explicitly calls out StatefulSet pods as the case where you should not casually force delete.
Unkillable containers (D state)
Sometimes the container process is stuck in uninterruptible sleep (state D), for example on a hung NFS mount or a kernel-level I/O stall, and SIGKILL can't touch it because the process is blocked inside the kernel. (This is not a zombie, which is a process that has already exited and is only waiting to be reaped.) Force deleting the Kubernetes object does nothing for this; it's no longer a Kubernetes-level problem, it's a node-level one. The cgroup, the memory, the mount namespace, all of it stays allocated. You'll see the pod gone from kubectl get pods but the node's actual CPU, memory, or PID count won't match up, and eventually that node starts reporting pressure conditions for reasons nobody can explain just by looking at the pod list.
How to diagnose before you touch anything
Before reaching for force delete, check these in order:
kubectl get pod <name> -o yaml: look atmetadata.finalizers. A stuck finalizer (from a custom controller, an admission webhook, or something likebatch.kubernetes.io/job-trackingon Job pods) is a very different problem than a stuck kubelet.kubectl describe node <node>: is the node actuallyReady? Stuck pods on a genuinely dead or drained node behave differently than stuck pods on a healthy one.kubectl get volumeattachment: is there aVolumeAttachmentobject still referencing this pod's node?- Node-level tools (
crictl psif you have SSH access): is the container process actually still running, or is it already gone and only the API object is stuck?
This is the same discipline you'd apply to any pod-health issue, similar to ruling out causes in a pod crashloopbackoff with no logs situation: confirm the mechanism before applying the fix.
A decision framework: wait, remove finalizer, taint, or force delete
Wait, if: the node is Ready, the kubelet is responsive, and the workload is stateful, singleton, or holds an exclusive volume. The termination will usually finish within a few minutes once whatever the kubelet is blocked on (often a slow CSI unmount) clears.
Remove the finalizer, if: the containers already show Terminated with their actual exit codes, the node is healthy, and the only thing blocking removal is a finalizer that a crashed or deleted controller never cleared. In this case the kubelet has already done the real teardown, and you're just unblocking an API bookkeeping flag:
kubectl patch pod my-pod -p '{"metadata":{"finalizers":null}}' --type=merge
Check what owns the finalizer first. Removing it skips whatever cleanup its owner intended (Job tracking, for example).
Use the out-of-service taint, if: the node is genuinely down and you have confirmed it is shut down or powered off (non-graceful node shutdown, GA in Kubernetes 1.28). This is the recommended alternative to force delete for dead nodes, because it lets Kubernetes clean up pods and force-detach volumes safely:
kubectl taint nodes <node-name> node.kubernetes.io/out-of-service=nodeshutdown:NoExecute
Remove the taint once the node is back. If the node is permanently gone, deleting the Node object also triggers garbage collection of its pods.
Force delete, if: you've confirmed the node is genuinely gone (terminated, deleted, or unreachable for an extended period, confirmed via the cloud console and not just flapping) and the workload is stateless with no exclusive volume dependency. Even then, check volumeattachment objects afterward, since those sometimes need manual cleanup too.
Don't force delete a StatefulSet pod, an RWO-volume pod, or anything doing leader election or exclusive locking until you've verified node state. The cost of being wrong here is data corruption, not just an extra few minutes of downtime.
What would have caught this earlier
If you're seeing this repeatedly rather than as a one-off, alert on pods that have been terminating far longer than their grace period, and cross-reference with node readiness. With kube-state-metrics (check that your version exposes the deletion timestamp metric):
time() - kube_pod_deletion_timestamp > 300
deletionTimestamp is the moment the grace period ends, so this reads as "stuck more than five minutes past the grace period." Note that Terminating is not a pod phase, so a query on kube_pod_status_phase{phase="Terminating"} will return nothing.
A pod stuck terminating on a healthy node most often points to a stuck CSI driver or a lingering finalizer, though slow preStop hooks and long grace periods are also common culprits. All of these are fixable without ever reaching for --force. A pod stuck terminating on a node that's also reporting pressure or going NotReady is a different, node-health problem entirely, and force deleting the pod won't fix the node.
One related trap is traffic during normal termination. The endpoint controller removes a terminating pod from ready endpoints as soon as deletionTimestamp is set, but that change takes a moment to propagate to kube-proxy and load balancers, while the pod may already be receiving SIGTERM. That race is why a short preStop sleep is a common fix, and it can show up as uneven traffic distribution across pods after a rollout.