skip to content
Alvin Lucillo

Upgrading helm release chart version

/ 1 min read

Upgrading a helm release with a new chart version and specific value can be done in one line.

Suppose we want to upgrade lvm-crystal-apd release to version 1.3.4 and set the replica to 3.

helm ls
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
lvm-crystal-apd crystal-apd-ns  1               2025-11-26 05:25:26.962144555 +0000 UTC deployed        nginx-1.3.0     1.17.5     

Let’s see the values we can set. The output shows that we can specify replicaCount.

helm get values lvm-crystal-apd
USER-SUPPLIED VALUES:
replicaCount: 1

The command upgrades the existing release with the new chart version and replica count value.

helm upgrade lvm-crystal-apd kubesphere/nginx --version=1.3.4 --set replicaCount=3

Release "lvm-crystal-apd" has been upgraded. Happy Helming!
NAME: lvm-crystal-apd
LAST DEPLOYED: Wed Nov 26 05:32:06 2025
NAMESPACE: crystal-apd-ns
STATUS: deployed
REVISION: 2
TEST SUITE: None
NOTES:
1. Get the application URL by running these commands:
  export POD_NAME=$(kubectl get pods --namespace crystal-apd-ns -l "app.kubernetes.io/name=nginx,app.kubernetes.io/instance=lvm-crystal-apd" -o jsonpath="{.items[0].metadata.name}")
  echo "Visit http://127.0.0.1:8080 to use your application"
  kubectl port-forward $POD_NAME 8080:80

helm  ls
NAME            NAMESPACE       REVISION        UPDATED                                 STATUS          CHART           APP VERSION
lvm-crystal-apd crystal-apd-ns  2               2025-11-26 05:32:06.164942443 +0000 UTC deployed        nginx-1.3.4     1.18.0