kubernetes 启动命令
1.master机启动批处理cat kubereload.sh#!/bin/shsystemctl restart etcd kube-apiserver kube-scheduler kube-controller-manager2.node 机启动批处理cat kuberestat.sh#!/bin/shsystemctl stop dockersystemctl re...
·
1.master机启动批处理
cat kubereload.sh
#!/bin/sh
systemctl restart etcd kube-apiserver kube-scheduler kube-controller-manager
2.node 机启动批处理
cat kuberestat.sh
#!/bin/sh
systemctl stop docker
systemctl restart flanneld
systemctl start docker
systemctl restart kubelet kube-proxy
curl http://192.168.30.132:30862/
更多推荐
已为社区贡献1条内容
所有评论(0)