当前位置: 首页 >> K8s >> 【命令】Kubernetes各组件服务重启 >> 正文

【命令】Kubernetes各组件服务重启

2021年11月01日 09:48:12    作者:Jiaozn    分类:K8s     评论(0)

MASTER端+NODE共同服务

systemctl restart etcd

systemctl daemon-reload

systemctl enable flanneld

systemctl restart flanneld


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


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


除非注明,发表在“Jiaozn的博客”的文章『【命令】Kubernetes各组件服务重启』版权归Jiaozn所有。 转载请注明出处为“本文转载于『Jiaozn的博客』原地址https://jiaozn.com/reed/734.html

评论

发表评论   

昵称*

E-mail*

网站