New to Voyager? Please start here.
This guide will show you how to upgrade various Voyager components. Here, we are going to show how to upgrade from an old Voyager version to the new version, and how to update the license, etc.
v12.0.0
or prior to v2021.04.24-rc.0
In order to upgrade from Voyager v12.0.0
to v2021.04.6
, please follow the following steps.
Helm does not upgrade the CRDs bundled in a Helm chart if the CRDs already exist. So, to upgrde the Voyager CRDs, please run the command below:
kubectl apply -f https://github.com/voyagermesh/installer/raw/v2021.04.24-rc.0/voyager-crds.yaml
Now, upgrade the Voyager helm chart using the following command. You can find the latest installation guide here.
helm upgrade voyager-operator -n kube-system appscode/voyager \
--reuse-values \
--version v2021.04.24-rc.0
Voyager support updating license without requiring any re-installation. Voyager creates a Secret named <helm release name>-license
with the license file. You just need to update the Secret. The changes will propagate automatically to the operator and it will use the updated license going forward.
Follow the below instructions to update the license:
helm upgrade voyager-operator -n kube-system appscode/voyager \
--reuse-values \
--set-file license=/path/to/new/license.txt
helm upgrade voyager-operator appscode/voyager \
--reuse-values \
--set-file license=/path/to/new/license.txt
helm template voyager-operator -n kube-system appscode/voyager \
--set cleaner.skip=true \
--set-file license=/path/to/new/license.txt | kubectl apply -f -