I am working on helm 2 and trying to deploy Tiller as pod.
>helm init --service-account tiller
But i am getting below Error: Error: error initializing: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp 172.217.2.240:443: connect: connection timed out
Has anyone faced this error and if yes , what is the recommended way to overcome this for helm2?
Just for history and maybe anyone else will face also. Community answer.
Errors like "Error: error initializing: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: dial tcp 172.217.2.240:443: connect: connection timed out"
are typically due to problems with Proxy and non-direct connection.
This was discussed in related github issue Cannot perform helm init behind proxy, lots have same problems. As per topic - users can have such problems with some of helm versions. Its recommended to use it starting from v2.11.0