Ashutosh Rathoreblog.ashutoshrathore.inยทOct 4, 2024How to delete namespace that is stuck in terminating stateGet namespace that has terminating state: Kubectl get ns | grep terminating Delete the namespace forcefully using the below cmd line NS=`kubectl get ns |grep Terminating | awk 'NR==1 {print $1}'` && kubectl get namespace "$NS" -o json | tr -d "\n"...KubernetesAdd a thoughtful commentNo comments yetBe the first to start the conversation.