See whether finalizers are blocking deletion.
Section: Cluster Maintenance and Cleanup
Inspect finalizers
bash
bash
kubectl get namespace stuck-ns -o jsonpath='{.spec.finalizers}'Explanation
See whether finalizers are blocking deletion.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Cluster Maintenance and Cleanup
Get component statuses (legacy)
Legacy command seen on older clusters; modern clusters rely on health endpoints and metrics.