介绍
helmfile是一个声明式helm chart管理工具,目前该项目已经从roboll/helmfile 转移到了 helmfile/helmfile。
特征
- 通过一个YAML集中管理集群中多个Helm Chart, 类似于Docker Compose统一管理Docker
- 对Helm Chart根据部署环境区分管理
- Helm Chart版本控制,比如指定版本范围、锁定某一版本
- 快速识别 Kubernetes 集群内已经部署应用与新更改之间的差异
- Helmfile支持Go Templates语法定义Helm Chart
- 在部署阶段支持配置hook,可以执行脚本等,实现变量远程获取,报错清理,成功提醒等
架构
目前对于详情未介绍,可以看文档,详情:helmfile.readthedocs.io/en/latest/#…
部署
- 二进制
直接下载二进制即可运行,地址:github.com/helmfile/he… - 包管理工具
- Archlinux:
pacman -S helmfile - openSUSE:
zypper in helmfile - Windows: (scoop):
scoop install helmfile - macOS (homebrew):
brew install helmfile
- 容器
通过容器运行,详情见:run as a container