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

目录

一、理论

1.各组件服务重启命令


一、理论

1.各组件服务重启命令

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

bash 复制代码
systemctl restart etcd
systemctl daemon-reload
systemctl enable flanneld
systemctl restart flanneld

(2)Master节点独有服务

bash 复制代码
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节点独有服务

bash 复制代码
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
相关推荐
didiplus1 小时前
Kubernetes 镜像拉取策略全解析:如何根据需求选择最佳配置?
云原生·容器·kubernetes
玄德公笔记1 小时前
docker-compose搭建sfpt服务器
服务器·docker·容器·sftp·docker-compose
小钟不想敲代码3 小时前
Docker部署Sentinel
docker·容器·sentinel
上海运维Q先生3 小时前
面试题整理17----K8s中request和limit资源限制是如何实现的
服务器·云原生·kubernetes
胖毁青春,瘦解百病4 小时前
Docker镜像源设置不生效问题排查
docker·容器
CloudPilotAI4 小时前
15条 Karpenter 最佳实践,轻松掌握弹性伸缩
kubernetes·弹性伸缩·karpenter
会飞的土拨鼠呀5 小时前
Flannel是什么,如何安装Flannel
运维·云原生·kubernetes
ether-lin6 小时前
DevOps实战:用Kubernetes和Argo打造自动化CI/CD流程(1)
ci/cd·kubernetes·devops
Carry_NJ7 小时前
docker-compose样例
运维·docker·容器
勇-子7 小时前
K8s 常用资源介绍
云原生·容器·kubernetes