2

我有个问题。我想在 kubernetes 上安装 helm 但是当我想运行这个命令helm init --upgrade但我有这个错误:

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

我想代理设置没有设置,但我不知道该怎么做。

一个主意 ?

感谢您的帮助,

真挚地,

Killer_Minet

4

1 回答 1

7

也许你有一个内部代理?如果是这样,您希望将https_proxy环境设置为https_proxy=<your proxy> helm init --upgrade. 您也可以将其全局设置为export https_proxy=<your proxy>.

于 2017-04-22T13:16:34.500 回答