Kubernetes各组件服务重启
时间:2021-12-16 17:51 来源:linux.it.net.cn 作者:IT
Kubernetes各组件服务重启
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
(责任编辑:IT)
Kubernetes各组件服务重启 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 (责任编辑:IT) |