
1)为了更好地协调其他包管理者的措辞Helm CLI个别更名
helm delete 更名为 helm uninstall
helm inspect 更名为 helm show
helm fetch 更名为 helm pull
2)移除了用于本地临时搭建Chart Repository的helm serve命令
3)自动创建名称空间
4)不再需要 requirements.yaml,依赖关系是直接在 chart.yaml 中定义
brew install helm
命令 | 描述 |
|---|---|
create | 创建一个 chart 并指定名字 |
dependency | 管理 chart 依赖 |
get | 下载一个 release。可用子命令:all、hooks、manifest、notes、values |
history | 获取 release历史 |
install | 安装一个 chart |
list | 列出 release |
package | 将 chart 目录打包到 chart 存储文件中 |
pull | 从远程仓库中下载 chart 并解压到本地 # helm pull stable/redis --untar |
repo | 添加(add),列出(list),移除(remove),更新(remove)和索引(index)chart 仓库 |
rollback | 从之前版本回滚 |
search | 根据关键字搜索 charts。可用子命令:hub、repo |
show | 查看 chart 详细信息。可用子命令:all、chart、readme、values |
status | 显示已命名版本的状态 |
template | 本地呈现模板 |
uninstall | 卸载一个 release |
upgrade | 更新一个 release |
version | 查看 helm 客户端版本 |
Usage:
helm repo [command]
Available Commands:
add add a chart repository
index generate an index file given a directory containing packaged charts
list list chart repositories
remove remove one or more chart repositories
update update information of available charts locally from chart repositories
helm repo add aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm repo update
$ helm repo list
NAME URL
aliyun https://kubernetes.oss-cn-hangzhou.aliyuncs.com/charts
helm search repo redis
NAME CHART VERSION APP VERSION DESCRIPTION
aliyun/redis 1.1.15 4.0.8 Open source, advanced key-value store. It is of...
aliyun/redis-ha 2.0.1 Highly available Redis cluster with multiple se...
aliyun/sensu 0.2.0 Sensu monitoring framework backed by the Redis ...
$ helm repo remove aliyun
"aliyun" has been removed from your repositories