-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubesphere uninstall script has to be improved- gets stuck in host cluster uninstallation #235
Comments
After running the uninstall script in Kubesphere host cluster, I find the below resources not deleted. kubectl api-resources --verbs=list --namespaced -o name | grep -v event | xargs -n 1 kubectl get --show-kind --ignore-not-found -n "kube-federation-system" I tried to delete them one after the other but its getting stuck in deletion. kubectl describe federatedtypeconfig.core.kubefed.io/applications.app.k8s.io -n kube-federation-system |
Kubesphere uninstall script has to be improved. https://github.com/kubesphere/ks-installer/blob/master/scripts/kubesphere-delete.sh
when I tried to run uninstall on Kubesphere host cluster, it is stuck in Kube-federation-system with terminating status. And I have to manually clean up by removing finalizers.
kubectl get namespaces
NAME STATUS AGE
add-ons Active 17d
apicentral Active 17d
default Active 17d
kube-federation-system Terminating 101m
This does not seem to happen in member cluster
Ideally helm uninstall should be able to remove all the resources deployed in Kubesphere. But it only deletes crd clusterconfiguration. So we have to run this script manually for uninstall.
The text was updated successfully, but these errors were encountered: