Skip to content

Tools - Helm

Commands

Repo

List repos:

helm repo list

Add repo:

helm repo add {name} {path}
# Ex: helm repo add bitnami https://charts.bitnami.com/bitnami

List chart of a repo:

helm search repo {repo}
# Ex: helm search repo stable

List available version of a repo:

helm search repo {repo} --versions
# Ex: helm search repo litmuschaos/litmus --versions

Chart

List all Chart (namespace):

helm list

Pull Chart:

helm pull {repo}/{chart} (--version {chart-version})
# Ex: helm pull stable/graylog

Delete Chart:

helm delete {chart}

Install release:

helm install {name} {repo} \
  -n|--namespace {namespace} \
  (-f|--values {value-file}) \
  (--version {chart-version})s
# Ex: helm install graylog-app stable/graylog \
#       --version 1.6.12 \
#       --namespace graylog \
#       --values graylog-values.yaml

Upgrade release:

helm upgrade {name} {repo} \
  -n|--namespace {namespace} \
  (-f|--values {value-file}) \
  (--version {chart-version})s

Get current values of a installed chart:

helm get values {name} (--all)

Get current manifests of a installed chart:

helm get manifest {chart}

Get values of a chart:

helm show values {repo}/{app}
# Ex: helm show values longhorn/longhorn

Download chart locally (fetch):

helm fetch {repo}/{app}
# Ex: helm fetch stable/graylog
Back to top