搭建helm私服ChartMuseum
生活随笔
收集整理的这篇文章主要介绍了
搭建helm私服ChartMuseum
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
介绍
ChartMuseum是一个用Go(Golang)编写的开源Helm Chart Repository服务器
ChartMuseum是一个用Go(Golang)编写的开源Helm Chart Repository服务器,支持云存储后端,包括Google云存储,Amazon S3,Microsoft Azure Blob存储,阿里云OSS存储,Openstack对象存储和Oracle云基础架构 对象存储。部署ChartMuseum
1、chart地址:https://github.com/helm/charts/tree/master/stable/chartmuseum
2、编写custom.yaml文件
env:open:#开启apiDISABLE_API: falseALLOW_OVERWRITE: truesecret:BASIC_AUTH_USER: myuserBASIC_AUTH_PASS: mypass resources:limits:cpu: 1memory: 2Girequests:cpu: 80mmemory: 64Mi persistence:enabled: truesize: 10GistorageClass: "managed-nfs-storage"3、安装
helm install --name my-chartmuseum -f custom.yaml stable/chartmuseum4、安装push插件(https://github.com/chartmuseum/helm-push)
1)在线安装
helm plugin install https://github.com/chartmuseum/helm-push2)离线安装
下载离线包:https://github.com/chartmuseum/helm-push/releases/download/v0.7.1/helm-push_0.7.1_darwin_amd64.tar.gz
新建helm-push目录将离线包解压到这个目录里:
mkdir -p /root/.helm/plugins/helm-push tar -xf helm-push_0.7.1_darwin_amd64.tar.gz5、使用
添加仓库
helm repo add chartmuseum http://NodePort-ip:NOdeport-port --username myuser --password mypass上传chart
helm push mychart/ chartmuseum
转载于:https://www.cnblogs.com/Dev0ps/p/11258539.html
总结
以上是生活随笔为你收集整理的搭建helm私服ChartMuseum的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: Amazon Redshift 架构
- 下一篇: 欧拉定理扩展欧拉定理(证明)