Skip to content

Instantly share code, notes, and snippets.

@crazyguitar
Last active March 18, 2020 15:47
Show Gist options
  • Save crazyguitar/c87fa3735fa93563f1bc95d10ea20d08 to your computer and use it in GitHub Desktop.
Save crazyguitar/c87fa3735fa93563f1bc95d10ea20d08 to your computer and use it in GitHub Desktop.
Helm Cheat Sheet

Helm Cheat Sheet

# Add stable repo (similar to add-apt-repository)
$ helm repo add stable https://kubernetes-charts.storage.googleapis.com/ 

# list repo
$ helm repo list

# helm repo update (similar to apt update)
$ helm repo update

# search chart (similar to apt-cache search)
$ repo="stable/jenkins"
$ helm search repo ${repo}

# search chart (list all remote stable)
$ helm search repo stable

# show installed (similar to dpkg -l)
$ helm ls

# inspect repo
$ repo="stable/jenkins"
$ helm inspect values ${repo}

How to install a Kubernetes application

$ helm inspect values ${repo} > /path/to/folder/values.yml
# edit values.yml

$ name="jenkins"
$ repo="stable/jenkins"
$ helm install ${name} ${repo} --values values.yml

Reference

  1. Running Jenkins in Kubernetes Cluster using Helm
  2. stable/jenkins
  3. justmeandopensource/kubernetes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment