How to upgrade helm releases manually?

Ashutosh Rathore
1 min readJan 10, 2024

--

This scenario is helpful when you already have helm release deployment and you would like to upgrade the version manually.

Prerequisites:
a. must have already installed helm
b. must have kube config set up locally for your cluster

1 First, you need to identify current releases available on your namespace in k8s cluster:

helm list -n <yournamespace>

2 Add the repo to your helm in my example, I am going to upgrade the helm release of new relic bundle chart

helm repo add <repo_name> <repo_chart_url>

Example:

helm repo add newrelic https://helm-charts.newrelic.com

3 Once you added the repo on your helm, then run the below helm command with the version you need to upgrade:

helm upgrade <release-name> <chart-name> --version <required_version> -n <your_namespace>

Example:

helm upgrade newrelic-bundle newrelic/nri-bundle --version <required_version> -n <your_namespace>

For more information on helm upgrade, you can follow Helm documentation: https://helm.sh/docs/helm/helm_upgrade/

--

--

Ashutosh Rathore
Ashutosh Rathore

Written by Ashutosh Rathore

DevOps | Cloud | DevSecOps | Architecture | Governance | Writing down all my learnings here! Portfolio: ashutoshrathore.in

No responses yet