Difficulty: Intermediate
Estimated Time: 25 minutes

Introduction to Helm

This scenario teaches you how to use most of the features in Helm, a package manager for Kubernetes. Helm simplifies discovering and deploying services to a Kubernetes cluster.

Helm is the best way to find, share, and use software built for Kubernetes.

In the following steps you will learn:

  • how to install and uninstall applications,
  • what a chart provides,
  • how to list public charts,
  • how to list and add more repositories,
  • how to create a custom chart,
  • how to update a chart.

More details can be found on their website.

You have learned the majority of the features of Helm. The harder part is creating charts with various dependencies and deployed to a variety of Kubernetes targets with varying contexts. Hopefully, though, you should have the fundamentals to get started.

More details can be found in the Helm documentation.

There are a few more important features that this scenario did not cover. Helm charts are testable with the test command. Helm charts can be packaged, versioned, and deployed to a chart archive/registry. The Helm tool has a community of plugins to extend its functionality.

Lessons Learned

With these steps you have learned:

  • ✔ How to install and uninstall applications,
  • ✔ What a chart provides,
  • ✔ How to list public charts,
  • ✔ How to list and add more repositories,
  • ✔ How to create a custom chart,
  • ✔ How to update a chart.


For a deeper understanding of these topics and more join
Jonathan Johnson
at various conferences, symposiums, workshops, and meetups.

Software Architectures ★ Speaker ★ Workshop Hosting ★ Kubernetes & Java Specialist

Helm Package Manager

Step 1 of 9

Install Helm

Helm is a cluster administration tool that manages charts on Kubernetes.

Helm relies on a packaging format called charts. Charts define a composition of related Kubernetes resources and values that make up a deployment solution. Charts are source code that can be packaged, versioned, and maintained in version control. Inside the chart are Kubernetes YAML files along with a templating language to allow contextual values to be injected into the YAMLs.

Helm also helps you manage the complexities of dependency management. Charts can include dependencies to other charts. Charts compliment your infrastructure as code processes. Use Helm effectively with a mature container versioning pipeline.

The Helm CLI tool deploys charts to Kubernetes. A server side component can accept the chart and submit the YAML declarations to Kubernetes. The chart is a deployable unit that can be inspected, listed, updated and removed.

This scenario covers version 3.x of Helm. If you are using version 2.x, it's highly advisable to move to the recent version.

Interact with Helm start with a command-line tool (CLI). Helm can be installed from https://github.com/kubernetes/helm/releases

curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash

At this point Helm should be healthy.

helm version --short

Helm's default list of public repositories is initially empty. More on this later, but for now the Google chart repo can be added.

helm repo add stable https://kubernetes-charts.storage.googleapis.com/

The current local state of Helm is kept in your environment in the home location.

helm env

The Helm command defaults to discovering the host already set in ~/.kube/config. There is a way to change or override the host, but that's beyond the scope of this scenario.

The next step gets right to it by installing a pre-made chart.