Description
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.