About this task
You can upgrade the existing deployment when you have a new Docker image, or a new Helm chart version, or a change in the configuration.
To upgrade the chart with the release name my-release
, follow the steps.
Procedure
-
Download and extract the helm charts on your local machine.
-
Copy all the properties configured in the older version of the charts (in values.yaml) into the new charts and configure any new properties if required.
Note: Do not reuse the older chart version with the new image.
-
Update the following properties in values.yaml:
dbsetup.enabled = false
dbsetup.upgrade = true
-
Run the following command to upgrade your deployments:
helm upgrade my-release -f values.yaml ./ibm-pem-standard --timeout 3600s --namespace <namespace>