开发者社区> 问答> 正文

使用chartmuseum建立chart仓库后,使用helm push或者curl都无法上传chart包,有遇到过?

chartmuseum仓库我使用helm install chartmuseum/ --name chartmuseum创建的

service 使用NodePort 31000端口
[root@host1 ~]# helm repo list
NAME URL
stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
local http://127.0.0.1:8879/charts
hanyu http://192.168.66.130:9000/wuzhao
ChartMuseum http://192.168.127.168:31000/

[root@host1 ~]# helm repo update
Hang tight while we grab the latest from your chart repositories...
...Skip local chart repository
...Successfully got an update from the "ChartMuseum" chart repository
...Successfully got an update from the "hanyu" chart repository
...Successfully got an update from the "stable" chart repository
Update Complete. ⎈ Happy Helming!⎈

[root@host1 ~]# helm search ChartMuseum
No results found

[root@host1 ~]# helm push nezha-1.1.0.tgz ChartMuseum
Pushing nezha-1.1.0.tgz to ChartMuseum...
Error: 404: not found
Error: plugin "push" exited with error

[root@host1 ~]# curl --data-binary "@nezha-1.1.0.tgz" http://192.168.127.168:31000/api/charts
{"error":"not found"}

https://github.com/helm/chartmuseum

哪位大神,有遇到过?

展开
收起
涵宇 2018-12-28 17:50:20 10116 0
2 条回答
写回答
取消 提交回答
  • 楼主问题解决了吗?我也碰到了

    2019-12-13 14:40:38
    赞同 展开评论 打赏
  • 阿里云容器服务

    看起来是chartmuseum 启动有问题 可以kubectl logs -f 查看一下chartmuseum 的 pod 日志,看一下具体问题

    2019-07-17 23:24:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
低代码开发师(初级)实战教程 立即下载
冬季实战营第三期:MySQL数据库进阶实战 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载