云原生Kubernetes:K8S集群各组件服务重启

目录

一、理论

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

文章来源地址https://www.uudwc.com/A/zkvZO/

原文地址:https://blog.csdn.net/cronaldo91/article/details/133428594

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请联系站长进行投诉反馈,一经查实,立即删除!

上一篇 2023年11月01日 09:18
K8sGPT,基于 AI 的云原生终极工具
下一篇 2023年11月01日 10:18