目录

一、理论

1.各组件服务重启命令


一、理论

1.各组件服务重启命令

(1)Master节点+Node节点共同服务

systemctl restart etcd
systemctl daemon-reload
systemctl enable flanneld
systemctl restart flanneld

(2)Master节点独有服务

systemctl daemon-reload
systemctl enable kube-apiserver
systemctl restart kube-apiserver

systemctl daemon-reload
systemctl enable kube-controller-manager
systemctl restart kube-controller-manager

systemctl daemon-reload
systemctl enable kube-scheduler
systemctl restart kube-scheduler

(3)Node节点独有服务

systemctl daemon-reload
systemctl enable kubelet
systemctl restart kubelet(status状态为 not ready时候重启即可)

systemctl daemon-reload
systemctl enable kube-proxy
systemctl restart kube-proxy

 
systemctl status etcd
systemctl status flanneld
systemctl status kube-apiserver
systemctl status kube-controller-manager
systemctl status kube-scheduler
systemctl status kubelet
systemctl status kube-proxy
10-02 01:44