ODMS Helm Upgrade
The Helm upgrade command is used to upgrade a chart when a new version is available or to modify the release's settings. An upgrade alters an existing release in accordance with the data you provide. Helm upgrades Kubernetes charts with the least amount of disruption possible because they can be enormous and complex. Only items that have changed since the previous release will be updated.
The helm Upgrade and Rollback mechanism is only for changing environment variables in running Pods
Overview
To reduce the disruption and time taken to upgrade the new version, HELM upgrade is done.
Command : helm upgrade <release-name> ./<path> -n <namespace> --set <env-variables>
Example: helm upgrade storage ./svc -n storage --set env.name=%ENV_NAME%
Follow the below steps to upgrade HELM.
- Helm upgrade batch and shell scripts are available under the upgrade folder ms-storage-helm-postgres-pack-<version>\upgrade.
- Make the necessary changes in the helm upgrade script and save it. For example, the db_name can be updated.
- Run the Helm-upgrade script, now the deployment is updated with the new configuration change with zero downtime.
In this topic