kubernetes节点状态报告如下。
root@csp-nso-server78:~# kubectl get nodes 10.213.5.78
NAME STATUS AGE
10.213.5.78 NotReady 1hkubelet日志显示了下面的错误
E0812 11:00:31.626169 10488 kubelet.go:2745] Error updating node status, will retry: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
E0812 11:00:31.696155 10488 kubelet.go:2745] Error updating node status, will retry: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
E0812 11:00:31.788017 10488 kubelet.go:2745] Error updating node status, will retry: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
E0812 11:00:31.897751 10488 kubelet.go:2745] Error updating node status, will retry: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
E0812 11:00:31.972326 10488 kubelet.go:2745] Error updating node status, will retry: client: response is invalid json. The endpoint is probably not valid etcd cluster endpoint.
E0812 11:00:31.972366 10488 kubelet.go:1183] Unable to update node status: update node status exceeds retry count这似乎与etcd有关。有人能帮上忙吗。
发布于 2016-08-30 11:10:58
我发布的错误实际上是来自库伯-阿皮瑟弗。
显然,我机器中的kube使用了一个参数‘-etcd-server=http://x.x.x.x:14001’。在我的设置中,ha代理将在14001上侦听,然后将其转发到4001,其中etcd将侦听。
将的init文件更改为使用端口4001直接解决了我的情况下的问题。
目前还不清楚haproxy是如何阻碍沟通的,但现在一切都如期而至。
https://serverfault.com/questions/796397
复制相似问题