Last active
July 16, 2025 03:43
-
-
Save rof20004/62906d8bed2e7a1676fe3a81415198c1 to your computer and use it in GitHub Desktop.
Delete Kubernetes stucked namespace
This file contains hidden or 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
kubectl proxy | |
kubectl get ns <rouge-ns> -o json | jq '.spec.finalizers=[]' | curl -X PUT http://localhost:8001/api/v1/namespaces/<rouge-ns>/finalize -H "Content-Type: application/json" --data @- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment