Uninstall the Yugabyte Platform software
To uninstall Yugabyte Platform, follow the steps for Docker or Kubernetes environments.
Uninstall in Docker environments
-
Stop and remove the Yugabyte Platform on Replicated first.
$ /usr/local/bin/replicated apps
-
Replace
with the application ID of Yugabyte Platform from the command above. $ /usr/local/bin/replicated app <appid> stop
-
Remove the Yugabyte Platform application.
$ /usr/local/bin/replicated app <appid> rm
-
Remove all Yugabyte Platform containers.
$ docker images | grep "yuga" | awk '{print $3}' | xargs docker rmi -f
-
Delete the mapped directory.
$ rm -rf /opt/yugabyte
-
Uninstall Replicated by following instructions documented in Removing Replicated.
Uninstall in Kubernetes environments
-
To remove the Yugabyte Platform, run the
helm delete
command:$ helm del yw-test -n yw-test
A message displays that the Yugabyte Platform release and the namespace is deleted.
release "yw-test" uninstalled
-
Run the following command to remove the namespace:
$ kubectl delete namespace yw-test
You should see the following message:
namespace "yw-test" deleted