复制dcos-install.tar到agent客户端

scp ~/dcos-install.tar $username$node-ip:~/dcos-install.tar

ssh

ssh $user@$agent

创建目录

sudo mkdir -p /opt/dcos_install_tmp

解压文件

sudo tar xf dcos-install.tar -C /opt/dcos_install_tmp

安装dcos作为一个public客户端

sudo bash /opt/dcos_install_tmp/dcos_install.sh slave_public

检验,确保至少有一个运行的public agent

$ curl -skSL -H "Authorization: token=$(dcos config show core.dcos_acs_token)" $(dcos config show core.dcos_url)/mesos/master/slaves | grep slave_public | wc -l

参考

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 ""