Skip to main content

Troubleshooting

Deleting Namespace Stuck Terminating

NAMESPACE=my-namespace
kubectl get namespaces $NAMESPACE -o json | jq '.spec.finalizers = []' | tr -d "\n" | kubectl replace --raw /api/v1/namespaces/$NAMESPACE/finalize -f -

source