Helm 常用命令
查看版本
helm version
查看當前安裝的charts
helm list
查詢 charts
helm search redis
安裝charts
helm install --name redis --namespaces prod bitnami/redis
查看charts狀態(tài)
helm status redis
刪除charts
helm delete --purge redis
增加repo
helm repo add stable https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo add --username admin --password password myharbor https://harbor.qing.cn/chartrepo/charts
更新repo倉庫資源
helm repo update
創(chuàng)建charts
helm create helm_charts
測試charts語法
helm lint
打包charts
cd helm_charts && helm package ./
查看生成的yaml文件
helm template helm_charts-0.1.1.tgz
更新image
helm upgrade --set image.tag='v2019-05-09-18-48-40' study-api-en-oral myharbor/study-api-en-oral
回滾relase