linux - helm 升级代理参数

标签 linux proxy kubernetes kubernetes-helm

我有一个问题。我想在 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/

相关文章:

python - aiohttp 是否支持 HTTPS 代理

java - 除了目标站点凭据之外,如何在 Apache httpclient 中指定代理身份验证凭据?

kubernetes - kubernetes 中的节点/代理子资源是什么?

Python/django 日志记录权限错误

android - 在 AOSP 中启动时运行 shell 脚本

ruby - 如何将电子邮件从 cPanel 传输到 Ruby 脚本

go - 在 Go 反向代理中在 handleFunc 和 modifyResponse 之间共享上下文

mongodb - 替代glusterfs + mongodb进行大型文件存储还是小型文件存储(在kubernetes上)?

amazon-ec2 - 键入 'kubectl get nodes'时看不到我的节点

linux - 如何在rsync中通过FTP复制所有文件