Technical manual
...
iR Engine deployment
Upgrading Helm Release
6 min
this guide will explain how to upgrade an existing helm deployment update values yaml file a helm release upgrade is usually required when changes are made in the configuration of helm charts to do so, the first thing required is upgrading the value yaml file of your current configuration if you already have an updated copy of this file then you can update the desired values and push the changes to your helm deployment when multiple people are working same deployment, it becomes difficult to maintain an up to date values yaml file you can get the current version/snapshot of values yaml file at any time by running the get values https //helm sh/docs/helm/helm get values/ command helm get values \[deployment name] you can save the output to a values yaml file and use it to update the required values differences in value yaml it can be very useful to evaluate the differences between your local values yaml and the current deployment values yaml files that way you can visualize the changes that a helm upgrade is going to make before they are applied to do so first make sure you have helm diff plugin installed you can install it by running helm plugin install https //github com/databus23/helm diff now that the helm diff plugin is installed, you can run the following command helm diff upgrade \[deployment name] ir engine/ir engine values \[path to values yaml] this will print the differences between the deployed helm release values yaml file and the specified values yaml file upgrading helm deployment now that the local values yaml file is updated, the following command will upgrade the helm deployment with the correct configuration helm upgrade \[deployment name] ir engine/ir engine reuse values f \[path to values yaml]