Helm 常用命令
helm search repo 程序名
helm search repo nginx
helm install 自定义应用名 chart库文件名
helm Install nginx aliyuncs/nginx
helm uninstall 应用名
helm uninstall nginx
helm list
release
安装一个 helm 模板文件
helm install 自定义应用名 自定义chart库路径
helm install nginx /kubernetes/helm/hello-world/
查看集群中 release 的详细信息
helm status release名
helm status nginx
检索已经发布的 release
helm get manifest release名
helm get manifest hello-world
更新 release 版本
helm upgrade release名 目录
helm upgrade hello-world /kubernetes/helm/hello-world
卸载一个 release
helm uninstall release名
helm uninstall hello-world
查看 release 历史版本,当前版本
helm history release名 历史版本
helm status release名 当前版本
回滚 release 历史版本
helm rollback release名 版本号
helm rollback hello-world 3
测试 helm chart 剧本是否有错误
helm lint
清空、删除 release 历史记录
helm delete --purge release名
helm delete --purge hello-world
尝试运行 release
helm install --dry-run chart目录位置
helm install --dry-run .
helm install --dry-run /kubernetes/helm/hello-world
chart
添加 chart 库
helm repo add 自定义库名 URL路径
helm repo add aliyuncs https://apphub.aliyuncs.com
查看有哪些 chart 库
helm repo list
查看 chart 库内可安装应用程序
helm search repo aliyuncs
创建一个 chart 范例
helm create 应用名
helm create hello-world