清除Agent节点(官方)

  1. 删除当前DCOS Agent软件

    sudo -i /opt/mesosphere/bin/pkgpanda uninstall
    sudo systemctl stop dcos-mesos-slave
    sudo systemctl disable dcos-mesos-slave
    
  2. 删除来的结构目录

    sudo rm -rf /etc/mesosphere /opt/mesosphere /var/lib/mesos /var/lib/dcos
    
  3. 重启机器

    sudo reboot
    

实测

rm -rf /opt/mesosphere*
rm -rf /var/lib/zookeeper
rm -rf /etc/mesos*
rm -rf /opt/dcos-prereqs.installed
rm -rf /etc/systemd/system/dcos*
rm -rf /usr/lib/systemd/system/marathon.service
systemctl daemon-reload
Copyright © opschina.org 2017 with zzlyzq@gmail.com all right reserved,powered by Gitbook该文件修订时间: 2017-07-11 11:32:48

results matching ""

    No results matching ""