Kubernetes Kube-proxy failed to retrieve node info

两盒软妹~` 提交于 2020-01-15 08:47:08

问题


Trying to understand why I'm seeing this output from my kube-proxy logs

W0328 08:00:53.755379  1 server.go:468] Failed to retrieve node info: nodes "ip-172-31-55-175" not found
W0328 08:00:53.755505  1 proxier.go:249] invalid nodeIP, initialize kube-proxy with 127.0.0.1 as nodeIP

The cluster is working just fine, is that indicating an issue with the cluster configuration?


回答1:


Can you please show the output of the command kubectl get node?

Probably the registered name used when kubelet starts is different from the name that kube-proxy is using.

You can force the usage of this very same name starting kube-proxy with the --hostname-override directive, and point to the same name kubelet registered itself.




回答2:


For newcomers start the minions(nodes) services in this order. 1. kubelet 2. kube-proxy 3. docker

Incorrect follow ups can trip up the service registrations.



来源:https://stackoverflow.com/questions/43286091/kubernetes-kube-proxy-failed-to-retrieve-node-info

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!