Helm 3.2.1 常用操作

helm

安装
下载开源发行地址下选一个符合自己操作系统的二进制包
https://github.com/helm/helm/releases

# 解压 如下:
$ tar -zxvf helm-v3.2.1-linux-amd64.tar.gz
$ sudo mv linux-amd64/helm /usr/local/bin/helm
$ helm version //查看版本
$ helm -h //帮助手册
$ helm [command] -h //具体命令帮助手册
命令 用法 描述
create helm create NAME [flags] create a new chart with the given name
install helm install [NAME] [CHART] [flags] installs a chart
pull helm pull [chart URL | repo/chartname] [...] [flags] download a chart from a repository and (optionally) unpack it in local directory
repo helm repo ... add, list, remove, update, and index chart repositories
search helm search [command] ( repo/hub ) search for a keyword in charts
uninstall helm uninstall RELEASE_NAME [...] [flags] uninstall a release
upgrade helm upgrade [RELEASE] [CHART] [flags]h upgrade a release

helm repo

命令 描述
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 stable http://mirror.azure.cn/kubernetes/charts/

helm pull

helm pull [chart URL | repo/chartname] [...] [flags]

$ helm pull stable/traefik --untar

helm install

# 1. By chart reference:
$ helm install mymaria example/mariadb

# 2. By path to a packaged chart: 
$ helm install mynginx ./nginx-1.2.3.tgz

# 3. By path to an unpacked chart directory: 
$ helm install mynginx ./nginx

# 4. By absolute URL:
$ helm install mynginx https://example.com/charts/nginx-1.2.3.tgz

# 5. By chart reference and repo url:
$ helm install --repo https://example.com/charts/ mynginx nginx

你可能感兴趣的:(Helm 3.2.1 常用操作)