helm添加不了仓库

【 使用环境 】测试环境
【 OB or 其他组件 】 helm
【 使用版本 】
【问题描述】helm添加不了operator仓库
【复现路径】问题出现前后相关操作
【附件及日志】[root@k3s-master-1 ~]# helm repo add ob-operator https://oceanbase.github.io/ob-operator/

Error: looks like “https://oceanbase.github.io/ob-operator/” is not a valid chart repository or cannot be reached: read tcp 192.168.30.232:52036->185.199.109.153:443: read: connection reset by peer

6 个赞

没弄过helm,等高手回答指点

了解了解

查看错误报警日志,无法连接到库,先检查一下网络通不通。

connection reset by peer 表明你的机器(192.168.30.232)到
GitHub Pages(185.199.109.153:443)的 HTTPS 连接被中断。可能的原因:

  • 网络/防火墙限制:你的网络环境可能阻止了对 GitHub Pages 的访问
  • 代理问题:如果你需要通过代理访问外网,请确认已正确配置 https_proxy /
    HTTP_PROXY 环境变量
  • DNS/CDN 问题:GitHub Pages 的 CDN 节点可能暂时不可达
    排查建议:
    测试网络连通性
    curl -v https://oceanbase.github.io/ob-operator/

先检查github是不是能稳定访问,在国内github的访问是首先的,一会能登陆一会不能登陆的