wget https://get.helm.sh/helm-v3.13.2-linux-amd64.tar.gz tar -zxvf helm-v3.13.2-linux-amd64.tar.gz mv linux-amd64/helm /usr/local/bin/helm helm version
guxc@192 ~ % helm repo -h 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 list
查看本地helm仓库
1 2 3
guxc@192 ~ % helm repo list NAME URL bitnami https://charts.bitnami.com/bitnami
helm repo add
添加仓库
1 2
guxc@192 ~ % helm repo add bitnami https://charts.bitnami.com/bitnami "bitnami" has been added to your repositories
helm repo update
更新仓库内容
1 2 3 4
guxc@192 ~ % helm repo update Hang tight while we grab the latest from your chart repositories... ...Successfully got an update from the "bitnami" chart repository Update Complete. ⎈Happy Helming!⎈
chart
helm search repo
查询有哪些chart可用
1 2 3 4 5 6
guxc@192 ~ % helm search repo mysql NAME CHART VERSION APP VERSION DESCRIPTION bitnami/mysql 9.12.1 8.0.34 MySQL is a fast, reliable, scalable, and easy t... bitnami/phpmyadmin 12.1.1 5.2.1 phpMyAdmin is a free software tool written in P... bitnami/mariadb 13.1.3 11.0.3 MariaDB is an open source, community-developed ... bitnami/mariadb-galera 9.1.2 11.0.3 MariaDB Galera is a multi-primary database clus...
helm show
查看chart详细信息,也叫inspect,后面可以跟all,chart,values等
查看chart细节如下,查询values,则是helm show values bitnami/mysql,查询所有,则是helm show all