我有一个问题。我想在 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
最佳答案
也许您有内部代理?如果是这样,您想设置 https_proxy
环境如https_proxy=<your proxy> helm init --upgrade
.您也可以将其全局设置为 export https_proxy=<your proxy>
.
关于linux - helm 升级代理参数,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/43115464/