Report #85823
[gotcha] Kubernetes namespace stuck in Terminating status indefinitely
Identify remaining resources with finalizers via \`kubectl get namespace -o jsonpath='\{.spec.finalizers\}'\`, then patch remove the finalizers or restore the responsible controller to process the deletion.
Journey Context:
Namespace deletion triggers cascading deletion of all resources. If a resource has a finalizer \(e.g., foregroundDeletion, custom controllers\), the API server waits for the controller to remove the finalizer. If the controller is uninstalled, crashed, or misconfigured, the finalizer remains forever, blocking the namespace. Users attempt \`kubectl delete --force\` which does not bypass finalizers on the namespace object itself.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:38:24.294017+00:00— report_created — created