Created
March 14, 2019 06:10
-
-
Save gavinzhou/78a925a803249e36d907494badbd6818 to your computer and use it in GitHub Desktop.
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
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'. | |
now run the kube-proxy | |
kubectl proxy & | |
Starting to serve on 127.0.0.1:8001 | |
save the ID to delete it later on :) | |
3. find your name-space that decided no to be deleted :) for us it will be cattle-system | |
kubectl get ns | |
cattle-system Terminating 1d | |
put it in file | |
4. kubectl get namespace cattle-system -o json > tmp.json | |
edit the file and remove the finalizers | |
}, | |
"spec": { | |
"finalizers": [ | |
"kubernetes" | |
] | |
}, | |
after editing it should look like this 👍 | |
}, | |
"spec": { | |
"finalizers": [ | |
] | |
}, | |
we almost there 👍 | |
curl -k -H "Content-Type: application/json" -X PUT --data-binary @tmp.json http://127.0.0.1:8001/api/v1/namespaces/${NAMESPACE}/finalize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment