Skip to content
BENIBIX Learn

Helm

Infrastructure☸️ Container OrchestrationKubernetes

Also known as Helm Chart, Kubernetes Package Manager, helm install

A package tool for Kubernetes. It puts a whole app in from one bundle, called a chart.

Think of it like

It is like a meal kit. Every part of the dinner comes in one box, with a card to change the spice.

Example

Jack installs his shop chart in the test cluster with one settings file, and in the live cluster with another. A bad upgrade is undone with helm rollback.

Why it matters

It turns a pile of Kubernetes files into one thing. You can save each version, share it and undo it.

Definition

Helm is a package manager for Kubernetes. An app in Kubernetes needs many files, like a deployment, a service and an ingress. Helm packs them into one bundle called a chart. You install a chart with one command, and change it with a small file of settings. Each install is a release, and Helm keeps its history, so you can roll back.

Example code

bash
helm install shop ./shop-chart
helm upgrade shop ./shop-chart -f live.yaml
helm rollback shop 1
Install the chart, upgrade it with new settings, then roll back to the first version.
A Helm chart packs this whole picture into one install. That means the ingress, the service and the pods.

Common mistake

Installing charts found online without reading them. A chart can create anything in your cluster.

Key takeaways

  1. 1
    Charts. One bundle holds every file an app needs.
  2. 2
    Settings files. Change values without editing the chart.
  3. 3
    Releases. Each install has a history you can roll back.