Skip to content

Helm

Helm is a tool for managing Kubernetes "charts" (think of it as an uber-polished collection of recipes). Using one simple command, and by tweaking one simple config file (values.yaml), you can launch a complex stack. There are many publicly available helm charts for popular packages like elasticsearch, ghost, grafana, mediawiki, etc.

Kubernetes Snapshots

Note

Given enough interest, I may provide a helm-compatible version of the pre-mix repository for supporters. Hit me up if you're interested!

Ingredients

  1. Kubernetes cluster
  2. Geek-Fu required : 🐤 (easy - copy and paste)

Preparation

Install Helm

This section is from the Helm README:

Binary downloads of the Helm client can be found on the Releases page.

Unpack the helm binary and add it to your PATH and you are good to go!

If you want to use a package manager:

  • Homebrew users can use brew install kubernetes-helm.
  • Chocolatey users can use choco install kubernetes-helm.
  • Scoop users can use scoop install helm.
  • GoFish users can use gofish install helm.

To rapidly get Helm up and running, start with the Quick Start Guide.

See the installation guide for more options, including installing pre-releases.

Serving

Initialise Helm

After installing Helm, initialise it by running helm init. This will install "tiller" pod into your cluster, which works with the locally installed helm binaries to launch/update/delete Kubernetes elements based on helm charts.

That's it - not very exciting I know, but we'll need helm for the next and final step in building our Kubernetes cluster - deploying the Traefik ingress controller (via helm)!

Move on..

Still with me? Good. Move on to understanding Helm charts...

  • Start - Why Kubernetes?
  • Design - How does it fit together?
  • Cluster - Setup a basic cluster
  • Load Balancer Setup inbound access
  • Snapshots - Automatically backup your persistent data
  • Helm (this page) - Uber-recipes from fellow geeks
  • Traefik - Traefik Ingress via Helm

Chef's Notes

  1. Of course, you can have lots of fun deploying all sorts of things via Helm. Check out https://github.com/helm/charts for some examples.

Tip your waiter (support me) 👏

Did you receive excellent service? Want to make your waiter happy? (..and support development of current and future recipes!) See the support page for (free or paid) ways to say thank you! 👏

Your comments? 💬