当前位置:   article > 正文

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

重启kubelet

目录

一、理论

1.各组件服务重启命令


一、理论

1.各组件服务重启命令

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

  1. systemctl restart etcd
  2. systemctl daemon-reload
  3. systemctl enable flanneld
  4. systemctl restart flanneld

(2)Master节点独有服务

  1. systemctl daemon-reload
  2. systemctl enable kube-apiserver
  3. systemctl restart kube-apiserver
  4. systemctl daemon-reload
  5. systemctl enable kube-controller-manager
  6. systemctl restart kube-controller-manager
  7. systemctl daemon-reload
  8. systemctl enable kube-scheduler
  9. systemctl restart kube-scheduler

(3)Node节点独有服务

  1. systemctl daemon-reload
  2. systemctl enable kubelet
  3. systemctl restart kubelet(status状态为 not ready时候重启即可)
  4. systemctl daemon-reload
  5. systemctl enable kube-proxy
  6. systemctl restart kube-proxy
  7. systemctl status etcd
  8. systemctl status flanneld
  9. systemctl status kube-apiserver
  10. systemctl status kube-controller-manager
  11. systemctl status kube-scheduler
  12. systemctl status kubelet
  13. systemctl status kube-proxy

本文内容由网友自发贡献,转载请注明出处:https://www.wpsshop.cn/w/很楠不爱3/article/detail/82767
推荐阅读
相关标签
  

闽ICP备14008679号