1.查看当前k8s集群版本
2.查看流量低谷
3.注释掉hdss7-11上的21
[root@hdss7-11 ~]# vim /etc/nginx/nginx.conf
[root@hdss7-11 ~]# vim /etc/nginx/conf.d/od.com.conf
4.上传软件包到21opt目录
cd /opt/kubernetes-v1.15.4/ rm -rf kubernetes-server-linux-amd64-v1.15.4.tar.gz cd server/bin/ mkdir cert conf rm -rf *.tar rm -rf *tag cp /opt/kubernetes-v1.15.2/server/bin/cert/* ./cert/ cd conf/ cp /opt/kubernetes-v1.15.2/server/bin/conf/* . cp /opt/kubernetes-v1.15.2/server/bin/*.sh /opt/kubernetes-v1.15.4/server/bin/ supervisorctl restart all kubectl label node hdss7-21.host.com node-role.kubernetes.io/master= kubectl label node hdss7-21.host.com node-role.kubernetes.io/node=