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.
Ingredients
- Kubernetes cluster
- 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 📓
-
Of course, you can have lots of fun deploying all sorts of things via Helm. Check out https://artifacthub.io for some examples. ↩
Tip your waiter (sponsor) 👏
Did you receive excellent service? Want to compliment the chef? (..and support development of current and future recipes!) Sponsor me on Github / Ko-Fi / Patreon, or see the contribute page for more (free or paid) ways to say thank you! 👏
Employ your chef (engage) 🤝
Is this too much of a geeky PITA? Do you just want results, stat? I do this for a living - I'm a full-time Kubernetes contractor, providing consulting and engineering expertise to businesses needing short-term, short-notice support in the cloud-native space, including AWS/Azure/GKE, Kubernetes, CI/CD and automation.
Learn more about working with me here.
Flirt with waiter (subscribe) 💌
Want to know now when this recipe gets updated, or when future recipes are added? Subscribe to the RSS feed, or leave your email address below, and we'll keep you updated.