Upgrade a Pulsar Helm release
Before upgrading your Pulsar installation, you need to check the changelog corresponding to the specific release you want to upgrade to and look for any release notes that might pertain to the new Pulsar chart version.
We also recommend that you need to provide all values using helm upgrade --set key=value
syntax or -f values.yml
instead of using --reuse-values
because some of the current values might be deprecated.
NOTE:
You can retrieve your previous
--set
arguments cleanly, withhelm get values <release-name>
. If you direct this into a file (helm get values <release-name> > pulsar.yml
), you can safely pass this file via-f
. Thushelm upgrade <release-name> charts/pulsar -f pulsar.yaml
. This safely replaces the behavior of--reuse-values
.
Steps
The following are the steps to upgrade Apache Pulsar to a newer version:
-
Check the change log for the specific version you would like to upgrade to
-
Go through deployment documentation step by step
-
Extract your previous
--set
arguments with
helm get values <release-name> > pulsar.yaml -
Decide on all the values you need to set
-
Perform the upgrade, with all
--set
arguments extracted in step 4
helm upgrade <release-name> charts/pulsar \
--version <new version> \
-f pulsar.yaml \
--set ...