If you’re not yet running at least Velero v1.16, see the following:
Before upgrading, check the Velero compatibility matrix to make sure your version of Kubernetes is supported by the new version of Velero.
Install the Velero v1.17 command-line interface (CLI) by following the instructions here.
Verify that you’ve properly installed it by running:
velero version --client-only
You should see the following output:
Client:
Version: v1.17.0
Git commit: <git SHA>
Update the Velero custom resource definitions (CRDs) to include schema changes across all CRDs that are at the core of the new features in this release:
velero install --crds-only --dry-run -o yaml | kubectl apply -f -
(optional) Update the uploader-type
to kopia
if you are using restic
:
kubectl get deploy -n velero -ojson \
| sed "s/\"--uploader-type=restic\"/\"--uploader-type=kopia\"/g" \
| kubectl apply -f -
Update the container image used by the Velero deployment, plugin and (optionally) the node agent daemon set:
# set the container and image of the init container for plugin accordingly,
# if you are using other plugin
kubectl set image deployment/velero \
velero=velero/velero:v1.17.0 \
velero-plugin-for-aws=velero/velero-plugin-for-aws:v1.13.0 \
--namespace velero
# optional, if using the node agent daemonset
kubectl set image daemonset/node-agent \
node-agent=velero/velero:v1.17.0 \
--namespace velero
Confirm that the deployment is up and running with the correct version by running:
velero version
You should see the following output:
Client:
Version: v1.17.0
Git commit: <git SHA>
Server:
Version: v1.17.0
To help you get started, see the documentation.