1 | vi /etc/fstab |
关机过程
node节点
1
2systemctl stop kube-proxy
systemctl stop kubeletmaster
1
2
3systemctl stop kube-scheduler
systemctl stop kube-controller-manager
systemctl stop kube-apiserver.service关闭 node节点的flanneld 服务
1
systemctl stop flanneld
全部节点关闭etcd
1
2systemctl stop etcd
systemctl stop docker全部关机
1
init 0
开机过程
1 | systemctl start etcd 三节点 |
k8s卸载
1 | sudo kubeadm reset -f |