Upgrade Pulsar Helm release
To upgrade Apache Pulsar Helm to a newer version, complete the following steps.
Check the change log for the specific version you would like to upgrade to and read the release notes that might pertain to the new Pulsar Helm Chart version.
Go through the deployment guide step by step.
Extract your previous
--set
arguments with the following command and change the values if required.helm get values <release-name> > pulsar.yaml
note
It’s highly recommended to provide all values using the
helm upgrade --set key=value
syntax or the-f values.yml
instead of using--reuse-values
, because some of the current values might be deprecated.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 through-f
, namelyhelm upgrade <release-name> apache/pulsar -f pulsar.yaml
. This safely replaces the behavior of--reuse-values
.Perform the upgrade, with all
--set
arguments extracted in step 3.helm upgrade <release-name> apache/pulsar \
--version <new version> \
-f pulsar.yaml \
--set ...