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

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

4周前 (11-01)     作者:Jiaozn     分类:集群     阅读次数:91     评论(0)    

MASTER端+NODE共同服务

systemctl restart etcd

systemctl daemon-reload

systemctl enable flanneld

systemctl restart flanneld


MASTER端独有服务

systemctl daemon-reload

systemctl enable kube-apiserver


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的博客』原地址http://jiaozn.com/reed/734.html
0

评论

发表评论   

昵称*

E-mail*(建议输入,以便收到博主回复的提示邮件)

网站

分享:

支付宝

微信