Documentation for version v1.14 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
If you’re not yet running at least Velero v1.8, 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.
Caution: Starting in Velero v1.10, kopia has replaced restic as the default uploader. It is now possible to upgrade from a version >= v1.10 directly. However, the procedure for upgrading to v1.13 from a Velero release lower than v1.10 is different.
Install the Velero v1.13 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.14.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 -
Delete the CSI plugin. Because the Velero CSI plugin is already merged into the Velero, need to remove the existing CSI plugin InitContainer. Otherwise, the Velero server plugin would fail to start due to same plugin registered twice.
Please find more information of CSI plugin merging in this page [csi].
If the plugin remove
command fails due to not found
, that is caused by the Velero CSI plugin not installed before upgrade. It’s safe to ignore the error.
velero plugin remove velero-velero-plugin-for-csi
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.14.0 \
velero-plugin-for-aws=velero/velero-plugin-for-aws:v1.10.0 \
--namespace velero
# optional, if using the node agent daemonset
kubectl set image daemonset/node-agent \
node-agent=velero/velero:v1.14.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.14.0
Git commit: <git SHA>
Server:
Version: v1.14.0
To help you get started, see the documentation.