开发者社区> 问答> 正文

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

涵宇 2018-12-28 17:50:20 1396

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

哪位大神,有遇到过?

API
分享到
取消 提交回答
全部回答(1)
  • xianlubird
    2019-07-17 23:24:03

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

    0 0

集结各类场景实战经验,助你开发运维畅行无忧

推荐文章
相似问题