Last active
June 30, 2020 09:10
-
-
Save 300481/e0e76f752f764c6a55420fad76196e89 to your computer and use it in GitHub Desktop.
delete terminating 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
# 1. kubectl get ns ${NAMESPACE} -o json > tmp.json | |
# 2. remove items from finalizers array in tmp.json | |
# 3. curl -k -H "Content-Type: application/json" -X PUT --data-binary @tmp.json http://127.0.0.1:8001/api/v1/namespaces/${NAMESPACE}/finalize | |
# source : https://success.docker.com/article/kubernetes-namespace-stuck-in-terminating |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment