其他分享
首页 > 其他分享> > 故障指路-组件 controller-manager 不健康-controller-manager Unhealthy

故障指路-组件 controller-manager 不健康-controller-manager Unhealthy

作者:互联网

故障现象

[root@k8s-mastera-new ~]# kubectl get cs
Warning: v1 ComponentStatus is deprecated in v1.19+
NAME                 STATUS      MESSAGE                                                                                       ERROR
scheduler            Unhealthy   Get "http://127.0.0.1:10251/healthz": dial tcp 127.0.0.1:10251: connect: connection refused   
controller-manager   Unhealthy   Get "http://127.0.0.1:10252/healthz": dial tcp 127.0.0.1:10252: connect: connection refused   
etcd-0               Healthy     {"health":"true"}  
警告: 组件 controller-manager 不健康。
警告: 组件 scheduler 不健康。
/etc/kubernetes/manifests/controller-manager.conf
/etc/kubernetes/manifests/scheduler.conf
这两个文件里面,删除--port=0这个配置
然后systemctl restart kubelet
https://my.oschina.net/u/1431757/blog/4550843
https://blog.csdn.net/gaojie314/article/details/116879535
https://github.com/rancher/rancher/issues/28802

标签:127.0,Unhealthy,0.1,controller,组件,manager,rancher
来源: https://www.cnblogs.com/xhg-Cathy/p/15714949.html