命令补全

source <(helm completion bash)
echo ‘source <(helm completion bash)’ >> .bashrc

helm repo

helm repo add sf http://mirror.azure.cn/kubernetes/charts
helm repo add ali https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo add bitnami https://charts.bitnami.com/bitnami

helm repo list
helm repo update
helm repo remove 仓库名

helm search

helm search hub [xxx] 从 Artifact Hub 中查找并列出 helm charts
helm search repo [xxx] 从所有添加的仓库中查找

helm show

helm show chart repo/chart
helm show all repo/chart 更多指定 chart 信息

helm install

helm install repo/chart 从 chart 仓库安装
helm install foo-0.1.1.tgz 本地 chart 压缩包
helm install foo path/to/foo 本地解压缩的 chart 目录
helm install fool https://example.com/charts/foo-1.2.3.tgz 在线的 URL

helm list

helm uninstall

helm uninstall release名

helm upgrade

helm upgrade —set imageTag=1.17 web mychart
helm upgrade -f values.yaml web mychart

helm pull

helm pull 仓库名/chart

helm show

helm show chart 仓库名/chart

自定义chart
helm create release名 目录

打包 chart
helm package 目录

历史版本
helm history release名

回滚指定历史版本
helm rollback release名 版本号