How to force delete a Kubernetes Namespace?
问题 How do I force delete Namespaces stuck in Terminating? Steps to recreate: Apply this YAML apiVersion: v1 kind: Namespace metadata: name: delete-me spec: finalizers: - foregroundDeletion kubectl delete ns delete-me It is not possible to delete delete-me . The only workaround I've found is to destroy and recreate the entire cluster. Things I've tried: None of these work or modify the Namespace. After any of these the problematic finalizer still exists. Edit the YAML and kubectl apply Apply: