Created
October 4, 2023 16:50
-
-
Save rdemorais/bba4c28048098c9a5bcaab525fa9e3c9 to your computer and use it in GitHub Desktop.
Finalize stuck namespace - K8s
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NAMESPACE=ingress-nginx; kubectl get namespace $NAMESPACE -o json | jq 'del(.spec.finalizers[0])' | kubectl replace --raw "/api/v1/namespaces/$NAMESPACE/finalize" -f - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment