k8s排错(Unhealthy)
作者:互联网
1,组件 Unhealthy
通过kubeadm安装好kubernetes v1.18.6 查看集群状态,发现组件controller-manager 和scheduler状态 Unhealthy
检查端口未监听
组件运行正常
检查kube-scheduler和kube-controller-manager组件配置是否禁用了非安全端口
vim /etc/kubernetes/manifests/kube-scheduler.yaml
vim /etc/kubernetes/manifests/kube-controller-manager.yaml
将port=0去掉然后
systemctl restart kubelet再检查集群组件状态已正常
标签:kube,Unhealthy,kubernetes,controller,排错,manager,scheduler,组件,k8s 来源: https://www.cnblogs.com/muyi-yang/p/14755271.html