Deleting a Hung Namespace in Kubernetes

I've been working a bit with Kubeflow the past few weeks and getting it installed proved challenging. While working through the install I deleted various namespaces and pods while troubleshooting and ran across a situation where sometimes my namespaces would hang after deletion using kubectl delete namespace <namespace>…