kubernetes 启动命令

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/

你可能感兴趣的:(kubernetes 启动命令)