2.8 KiB
title, layout
| title | layout |
|---|---|
| Upgrading to Velero 1.17 | docs |
Prerequisites
- Velero v1.16.x installed.
If you're not yet running at least Velero v1.16, see the following:
- Upgrading to v1.8
- Upgrading to v1.9
- Upgrading to v1.10
- Upgrading to v1.11
- Upgrading to v1.12
- Upgrading to v1.13
- Upgrading to v1.14
- Upgrading to v1.15
- Upgrading to v1.16
Before upgrading, check the Velero compatibility matrix to make sure your version of Kubernetes is supported by the new version of Velero.
Instructions
Upgrade from v1.16
-
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-onlyYou 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-typetokopiaif you are usingrestic: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 versionYou should see the following output:
Client: Version: v1.17.0 Git commit: <git SHA> Server: Version: v1.17.0