Commit fcea2e88 by tingweiwang

开机启动脚本增加对其他node节点组件的自启动

1 parent 72dc6612
Showing with 6 additions and 1 deletions
......@@ -16,8 +16,13 @@ cd /usr/local/harbor && ./install.sh
echo "wait 20s for habor start"
sleep 20
############################客户端相关###################
echo "start kubelet"
echo "管控节点本机start kubelet"
service kubelet restart
echo "node节点各个组件启动"
ansible node -m shell -a "service flanneld restart"
ansible node -m shell -a "service kube-proxy restart"
ansible node -m shell -a "service docker restart"
ansible node -m shell -a "service kubelet restart"
########################依赖服务相关################################
echo "start mysql"
service mysql restart
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!