Kubernetes Kube-proxy无法检索节点信息 [英] Kubernetes Kube-proxy failed to retrieve node info

查看:1250
本文介绍了Kubernetes Kube-proxy无法检索节点信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图了解为什么我从kube-proxy日志中看到此输出

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?

推荐答案

能否显示命令kubectl get node的输出?

kubelet启动时使用的注册名称可能与kube-proxy使用的名称不同.

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

您可以使用--hostname-override指令强制使用与kube-proxy相同的名称,并指向kubelet自身注册的相同名称.

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.

这篇关于Kubernetes Kube-proxy无法检索节点信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆