搭建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/chartmuseum?4、安裝push插件(https://github.com/chartmuseum/helm-push)
1)在線安裝
helm plugin install https://github.com/chartmuseum/helm-push?2)離線安裝
下載離線包: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 架构
- 下一篇: 欧拉定理扩展欧拉定理(证明)