Navigate to the analytics-dashboard directory.
Run command sh uninstall.sh release=<release-name> namespace=<name-of-the-namespace>
Make sure that all the pods are terminated. You can check the pods status by running the following command:
kubectl get pods --namespace <name-of-the-namespace>
NOTE:Uninstalling Analytics Server does not delete the persisted directories that got created during installation. If you do not need the directories for future use, you must delete them manually from the node.
Use command rm -rf <location>/am-*.
For example, to delete the am-dashboard directory, use command rm -rf /mnt/am-dashboard, where /mnt is the location of the directory.
NOTE:On multiple nodes, ensure all the folders located at /mnt/am-dashboard are deleted on all nodes before you re-install the application.