本文将介绍Helm Chart的一些基本操作,目前支持以下两种方式:
本地计算机已经成功安装、配置kubectl和Helm客户端。
可参考使用Helm本地客户端连接集群。
本地客户端添加金山云Helm Chart的Repo,这里以华北1(北京)为例。
helm repo add mycharts https://hub.kce.ksyun.com/chartrepo/mycharts --username=myname --password=mypassword
"mycharts" has been added to your repositories
其中,
mychart
:替换为自己仓库的命名空间。myname
:替换为用户镜像仓库的id,一般是用户的金山云账号id。mypassword
:替换为用户镜像仓库的密码。helm plugin install https://github.com/chartmuseum/helm-push
helm push ./helm-apps mychart
helm push ./helm-apps.tgz mychart
helm fetch mychart/helm-app
helm fetch mychart/helm-app --version 1.0.0
文档内容是否对您有帮助?
评价建议不能为空
非常感谢您的反馈,我们会继续努力做到更好!