什么导致系统日志记录大量“拨号失败:拨打tcp x.x.x.x:端口:连接拒绝”消息?

时间:2015-12-04 03:17:18

标签: kubernetes

我们的AWS kubernetes集群中的所有节点(服务器版本:version.Info {Major:“1”,Minor:“0”,GitVersion:“v1.0.6”,GitCommit:“388061f00f0d9e4d641f9ed4971c775e1654579d”,GitTreeState:“clean “}}正在将以下消息发送到/ var / log / syslog,这些消息很快就会填满磁盘(大约24小时内为32GB)。

Dec  4 03:13:36 ubuntu kube-proxy[15171]: I1204 03:13:36.961584   15171 proxysocket.go:130] Accepted TCP connection from 172.30.0.164:58063 to 172.30.0.39:33570
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.961775   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.0.7:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.961888   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.2.9:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962104   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.0.7:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962275   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.2.9:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962299   15171 proxysocket.go:133] Failed to connect to balancer: failed to connect to an endpoint.
Dec  4 03:13:36 ubuntu kube-proxy[15171]: I1204 03:13:36.962380   15171 proxysocket.go:130] Accepted TCP connection from 172.30.0.87:29540 to 172.30.0.39:33570
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962630   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.0.7:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962746   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.2.9:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.962958   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.0.7:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.963084   15171 proxysocket.go:99] Dial failed: dial tcp 10.244.2.9:5000: connection refused
Dec  4 03:13:36 ubuntu kube-proxy[15171]: E1204 03:13:36.963105   15171 proxysocket.go:133] Failed to connect to balancer: failed to connect to an endpoint.

如果相关,我们使用export KUBERNETES_PROVIDER=aws; curl -sS https://get.k8s.io | bash创建了群集。

有人能指出我的原因是正确的方向吗?

1 个答案:

答案 0 :(得分:1)

端口5000通常由本地docker注册表使用。 这是一个附加组件。 您的群集是否从该本地注册表中提取图像?如果是的话,它有效吗?它是如何设置的?

此链接可能有助于确定您的配置问题:

https://github.com/kubernetes/kubernetes/tree/master/cluster/addons/registry