主节点上的连接问题的kube代理问题

时间:2017-11-30 18:03:26

标签: kubernetes

在主节点上运行的kube代理中获取以下问题

.12.154:6443: getsockopt: connection refused
E1114 19:39:37.146635 1 reflector.go:201] k8s.io/kubernetes/pkg/proxy/config/api.go:49: Failed to list *api.Endpoints: Get https://10.196.12.154:6443/api/v1/endpoints?resourceVersion=0: dial tcp 10.196.12.154:6443: getsockopt: connection refused
E1114 19:39:37.147411 1 reflector.go:201] k8s.io/kubernetes/pkg/proxy/config/api.go:46: Failed to list *api.Service: Get https://10.196.12.154:6443/api/v1/services?resourceVersion=0: dial tcp 10.196.12.154:6443: getsockopt: connection refused
E1114 19:39:38.156190 1 reflector.go:201] k8s.io/kubernetes/pkg/proxy/config/api.go:49: Failed to list *api.Endpoints: Get https://10.196.12.154:6443/api/v1/endpoints?resourceVersion=0: dial tcp 10.196.12.154:6443: getsockopt: connection refused
E1114 19:39:38.156820 1 reflector.go:201] k8s.io/kubernetes/pkg/proxy/config/api.go:46: Failed to list *api.Service: Get https://10.196.12.154:6443/api/v1/services?resourceVersion=0: dial tcp 10.196.12.154:6443: getsockopt: connection refused
E1114 19:39:39.156977 1 reflector.go:201] 



Environment:

Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4+1a3f593", GitCommit:"1a3f593cf0182255938f48eb2e68110c4c049c54", GitTreeState:"clean", BuildDate:"2017-08-02T18:32:44Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.4+59f69d2", GitCommit:"59f69d284801d7df9639d83f4407cad73ea467be", GitTreeState:"clean", BuildDate:"2017-07-24T23:56:46Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

1 个答案:

答案 0 :(得分:0)

基于错误消息,它无法连接到API服务器,您之间是否还有其他防火墙?还检查并查看绑定到所有网络接口ss -tnlp |grep 6443

的api服务器
  

tcp 10.196.12.154:6443:getsockopt:连接被拒绝

相关问题