Kubernetes / Cluster Operations, Access & Incident Response
Investigate a namespace stuck Terminating without stripping finalizers
Namespace deletion can wait for unavailable APIs or controllers to finish cleanup. Read conditions before forcing completion.
Environment and inputs: Kubernetes · kubectl with supported client/server versions and delegated RBAC. Examples use namespace app unless noted. Check context, namespace, APIs and provider support first.
Start with this check
Check which system and tools you are using. Replace example objects, namespaces, images, file paths and hosts with approved values. Remove sensitive information before sharing output. Follow the application owner’s process for changes.
kubectl get namespace app -o yaml
What the results mean
Status conditions can identify remaining content or discovery failures. Finalizers represent cleanup obligations, not merely cosmetic blockers.
Fix the cause and check again
Restore the unavailable API or responsible controller and inspect remaining objects through approved access. Complete cleanup through the supported owner workflow.
Before changing production
Do not remove finalizers blindly; external resources and data can be orphaned or left inconsistent.