Files
velero/site/docs/master/upgrade-to-1.4.md
Steve Kriss d498406c35 v1.4 upgrade instructions (#2509)
Signed-off-by: Steve Kriss <krisss@vmware.com>
2020-05-08 09:15:53 -07:00

1.7 KiB

Upgrading to Velero 1.4

Prerequisites

If you're not yet running at least Velero v1.3, see the following:

Instructions

  1. Install the Velero v1.4 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.4.0-beta.1
        Git commit: <git SHA>
    
  2. Update the container image used by the Velero deployment and, optionally, the restic daemon set:

    kubectl set image deployment/velero \
        velero=velero/velero:v1.4.0-beta.1 \
        --namespace velero
    
    # optional, if using the restic daemon set
    kubectl set image daemonset/restic \
        restic=velero/velero:v1.4.0-beta.1 \
        --namespace velero
    
  3. Update the Velero custom resource definitions (CRDs) to include the new backup progress fields:

    velero install --crds-only --dry-run -o yaml | kubectl apply -f -
    
  4. 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.4.0-beta.1
        Git commit: <git SHA>
    
    Server:
        Version: v1.4.0-beta.1