helm upgrade proxy parameters

3/30/2017

i have a problem. i want to install helm on the kubernetes but when i want run this command helm init --upgrade but i have this error :

Creating /root/.helm 
Creating /root/.helm/repository 
Creating /root/.helm/repository/cache 
Creating /root/.helm/repository/local 
Creating /root/.helm/plugins 
Creating /root/.helm/starters 
Creating /root/.helm/repository/repositories.yaml 
Error: 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 216.58.197.80:443: i/o 
timeout

I suppose that the proxy settings didn't set, but I do not find how to do it.

an idea ?

thank's for your help,

sincerely,

Killer_Minet

-- killer_minet
kubernetes
kubernetes-helm
linux
proxy

1 Answer

4/22/2017

Maybe you have an internal proxy? If so, you want to set the https_proxy environment as https_proxy=<your proxy> helm init --upgrade. You can also set it globally as export https_proxy=<your proxy>.

-- Rod
Source: StackOverflow