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/
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐