【发布时间】:2018-02-05 10:52:30
【问题描述】:
使用helm进行kubernetes包管理时,安装helm客户端后,
之后
helm init
我可以看到tiller pods在kubernetes集群上运行,然后当我运行helm ls时,它给出了一个错误:
Error: Get http://localhost:8080/api/v1/namespaces/kube-system/configmaps?labe
lSelector=OWNER%3DTILLER: dial tcp 127.0.0.1:8080: getsockopt: connection
refused
并使用kubectl logs 我可以看到类似的消息:
[storage/driver] 2017/08/28 08:08:48 list: failed to list: Get
http://localhost:8080/api/v1/namespaces/kube-system/configmaps?
labelSelector=OWNER%3DTILLER: dial tcp 127.0.0.1:8080: getsockopt: connection
refused
我可以看到tiller pod在其中一个节点而不是master上运行,该节点上没有运行api服务器,为什么它连接到127.0.0.1而不是我的master ip?
【问题讨论】:
标签: kubernetes kubernetes-helm