Uninstall¶
Use the following instructions to uninstall Anaconda Enterprise.
To uninstall Anaconda Enterprise on a healthy cluster worker nodes, run:
sudo gravity leave --force
sudo killall gravity
sudo killall planet
To uninstall Anaconda Enterprise on a healthy cluster master node, run:
sudo gravity system uninstall
sudo killall gravity
sudo killall planet
sudo rm -rf /var/lib/gravity /opt/anaconda
To uninstall a failed or faulty cluster node, run:
sudo gravity remove --force
To remove an offline node that cannot be reached from the cluster, run:
sudo gravity remove <node>
<node> - specifies the node to be removed and can be either the node’s assigned hostname or its IP address (the one that was used as an “advertise address” or “peer address” during install) or its Kubernetes name (can be obtained via kubectl get nodes).