Skip to main content
KBY Technologies Logo

Terminating: a Pod or namespace that will not finish deleting

Terminating

kubectl shows Terminating in the STATUS column while an object is being deleted. It stays there when a finalizer is still set or the node cannot confirm the Pod has stopped.

From Kubernetes's documentation, checked 5 Dec 2026.

Object deletion, finalizers and the kubeletLifecycleWarning
Error text as Kubernetes documents it
Terminating

Also searched as: pod stuck in Terminating · kubernetes pod stuck terminating · namespace stuck in Terminating · kubectl delete pod hangs · pod Terminating finalizers

What it means

Terminating is a display status, not a phase. kubectl shows it when a Pod is being deleted. For a namespace, Terminating is a real phase that means it is being deleted and cannot take new objects. Deletion first sets metadata.deletionTimestamp on the object. The object then stays until its metadata.finalizers list is empty. A Pod on an unreachable node also stays in this state until the node's kubelet answers or the Node object is deleted.

Common causes

  • The object still has finalizers. The API server will not remove it until every key in metadata.finalizers has been removed. The controller that owns each finalizer removes its key once its cleanup is done.
  • A namespace was created with a finalizer that does not exist. Kubernetes allows that, but the namespace then sticks in Terminating when someone tries to delete it.
  • The Pod runs on an unreachable node. Such Pods enter Terminating or Unknown after a timeout and are not deleted automatically.
  • Deletion waits on owner references or dependent objects, so the owner or its dependents still carry finalizers.

From Kubernetes's documentation

How to fix it

  1. Read the deletion timestamp and finalizers

    A set deletionTimestamp means deletion was requested. Any keys under finalizers are what Kubernetes is still waiting for. Look up which controller owns each key before changing anything. Kubernetes warns against removing finalizers by hand unless you understand why they are there and their work is done.

    kubectl get pod <pod-name> --namespace=<namespace> -o yaml
  2. Check the node the Pod runs on

    The wide output adds the node name. If that node is unreachable, the Pod stays in Terminating or Unknown until the node's kubelet answers or the Node object is deleted.

    kubectl get pod <pod-name> --namespace=<namespace> -o wide
  3. Check the owners and dependents

    For a stuck deletion, Kubernetes advises checking finalizers and owner references on the target object and on its owners and dependents. For a namespace, read the finalizers field in its YAML.

    kubectl get namespace <namespace> -o yaml

Following along? Tap a step’s number to tick it off.

How to confirm it's fixed

  • Once the finalizers field is empty, Kubernetes deletes the object, so it stops showing in kubectl get.
  • A Pod that was on an unreachable node disappears once the node answers, the Node object is deleted, or you have force deleted it knowingly.

Related notes

Force deletion (kubectl delete pods <pod> --grace-period=0 --force) frees the Pod name without waiting for the kubelet. For a StatefulSet Pod, Kubernetes warns this can break its at-most-one guarantee. Kubernetes gives a finalizer patch only for a Pod that is still stuck in Unknown after the force delete.

Copyable operational controls

Related engineering templates

Continue the investigation

Found this useful? Follow KBY for more like it.

More from KBY that goes with this error.

The KBY Brief

Follow Kubernetes failures and fixes

A short email about twice a week for IT teams: new runbooks, configuration traps and fixes, and the Microsoft and Apple deadlines coming up.