Feedback

Chat Icon

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Introduction to Helm
93%

Upgrading a Chart

The general syntax for upgrading a chart is:

helm upgrade [RELEASE_NAME] [CHART] [flags]

Let's try installing a "Hello World" chart from the CloudEcho Helm repository. We will use version 0.1.1 of the chart:

helm repo add cloudecho \
  https://cloudecho.github.io/charts/

helm repo update

# The `-n default` flag specifies the namespace
# and it's by default set to `default` it's not required.
helm install my-hello cloudecho/hello -n default --version=0.1.1

The installation will create a new release called my-hello:

helm list

We installed the Helm chart version 0.1.1. Let's upgrade it to version 0.1.2:

helm upgrade my-hello cloudecho/hello -n default --version=0.1.2

You should see the new version of the chart. You should see that we have 2 revisions of the release:

helm list

Cloud-Native Microservices With Kubernetes - 2nd Edition

A Comprehensive Guide to Building, Scaling, Deploying, Observing, and Managing Highly-Available Microservices in Kubernetes

Enroll now to unlock all content and receive all future updates for free.