logs:
(kube-master) tiller # kcm logs tiller-deploy-3354596499-4q16f
Cannot initialize Kubernetes connection: Get http://localhost:8080/api: dial tcp [::1]:8080: getsockopt: connection refused
This issue has been raised in #1591 #1791.
In #1791, there gets a resolution(thank @iamzhout) of adding KUBERNETES_MASTER in pods env but nobody explains the root cause of the issue.
I installed the k8s cluster manually and it seems that tiller pod can't get KUBERNETES_MASTER from env as this item doesn't exist in the env at all.
No docs are found about the relation between k8s cluster and the configuration. I don't think it is a good idea to add the env item manually(and how to helm init with the configuration???)
Is there anybody who can offer the help?
Thanks anyway (^.^).
logs:
This issue has been raised in #1591 #1791.
In #1791, there gets a resolution(thank @iamzhout) of adding KUBERNETES_MASTER in pods env but nobody explains the root cause of the issue.
I installed the k8s cluster manually and it seems that tiller pod can't get KUBERNETES_MASTER from env as this item doesn't exist in the env at all.
No docs are found about the relation between k8s cluster and the configuration. I don't think it is a good idea to add the env item manually(and how to
helm initwith the configuration???)Is there anybody who can offer the help?
Thanks anyway (^.^).