Last active
June 5, 2018 09:38
-
-
Save gpetrousov/f1cd386c72399b6f4beebff840e77997 to your computer and use it in GitHub Desktop.
Uninstall DCOS cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Deprovision a DCOS cluster | |
# https://docs.mesosphere.com/1.7/administration/installing/oss/custom/uninstall/ | |
# This script will remove all directories associated with DCOS. | |
# Execute this script on the Master and Agent boxes to get rid of any DCOS installations. | |
# After that, you will be able to initiate a new DCOS installation from the dcos_install.sh script. | |
# 05-06-2018 | |
# Ioannis Petrousov | |
# [email protected] | |
pkill -f mesosphere | |
rm -fr /etc/mesosphere/ | |
rm -fr /var/lib/dcos/ | |
rm -fr /opt/mesosphere | |
rm -fr /run/dcos/ | |
rm -fr /etc/systemd/system/dcos-* | |
rm -fr /etc/systemd/system/dcos.target | |
rm -fr /etc/systemd/system/dcos* | |
rm -fr /etc/profile.d/dcos.sh | |
rm -fr /etc/systemd/system/multi-user.target.wants/dcos-setup.service | |
rm -fr /etc/systemd/system/multi-user.target.wants/dcos.target | |
rm -fr /etc/systemd/journald.conf.d/dcos.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment