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%

Uninstalling a Chart

After installing a chart, you may want to uninstall it. The uninstallation process removes all the Kubernetes resources associated with the release.

The general syntax for uninstalling a chart is:

helm uninstall [RELEASE_NAME] [flags]

We have already installed the my-hello release. You can see it by running the following command:

helm list -A

Let's uninstall it:

# change the namespace to
# the one where the release is installed
# example: "export namespace=default"
export namespace=
helm uninstall my-hello -n $namespace

It is possible to simulate the uninstallation using the --dry-run

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.