3. Uninstallation
To uninstall Clara Deploy SDK, please use the uninstall-prereqs.sh
script found in the installation package under the
bootstrap/
directory.
To uninstall Clara:
cd bootstrap sudo ./uninstall-prereqs.sh
The script would output and offer an option to uninstall Kubernetes settings and configuration.
2019-11-14 18:25:26 [INFO]: Clara Deploy SDK v0.4.1-6301 System Prerequisites Removal 2019-11-14 18:25:26 [INFO]: Checking user privilege... 2019-11-14 18:25:26 [INFO]: Cleaning up ... **************************************************************************** *** WARNING: This will remove all Kubernetes settings and configuration. *** **************************************************************************** Are you sure you want to uninstall Kubernetes?(Y/N)
To uninstall Kubernetes and all of its settings, please enter
Y
, otherwiseN
.Next, the script would offer an option to uninstall Docker, all installed Docker images and configurations:
********************************************************************** *** WARNING: This will remove all Docker images and configuration. *** ********************************************************************** Are you sure you want to uninstall docker?(Y/N)
To uninstall Docker, all Docker images and Docker configurations, please enter ‘Y’, otherwise ‘N’.
The script would offer to remove docker-compose:
**************************************************************************************** *** WARNING: This will remove Docker Compose binary (/usr/local/bin/docker-compose). *** **************************************************************************************** Are you sure you want to uninstall docker-compose?(Y/N)
To uninstall docker-compose, please enter ‘Y’, otherwise ‘N’.
Clara would automatically remove Clara CLI tools:
2019-11-14 18:31:53 [INFO]: Done cleaning up 2019-11-14 18:31:53 [INFO]: Uninstalling Clara CLI 2019-11-14 18:31:53 [INFO]: Clara CLI uninstalled successfully 2019-11-14 18:31:53 [INFO]: Clara Deploy SDK Prerequisites removed successfully!