Upgrading a Helm-Based Deployment of VAST CSI Driver

Prev Next

Use the following procedure if both old and new release of VAST CSI Driver are deployed using a Helm chart.

  1. Refresh Helm repository information to see which VAST CSI Driver versions are available for deployment:

    helm repo update
  2. Update the VAST CSI Driver's Helm chart configuration file (values.yaml) to specify the target release of VAST CSI Driver:

    image:
      csiVastPlugin:
        repository: <repo>
        tag: <new release>
        imagePullPolicy: IfNotPresent

    Where:

    • <repo> is the name of the VAST CSI Driver Helm repository.

    • <new release> is the VAST CSI Driver release to be upgraded to.

    For example:

    image:
      csiVastPlugin:
        repository: vastdataorg/csi
        tag: v2.6.2
        imagePullPolicy: IfNotPresent
  3. Run Helm upgrade:

    helm upgrade <old release> <repo>/vastcsi -f <filename>.yaml

    Where:

    • <old release> is the VAST CSI Driver release to be upgraded from.

    • <repo> is the name of the VAST CSI Driver Helm repository.

    • vastcsi is the name of the VAST CSI Driver Helm chart.

    • <filename>.yaml is the Helm chart configuration file.

    For example:

    helm upgrade csi-driver vastcsi/vastcsi -f values.yaml
  4. Verify the status of the new VAST CSI Driver chart release:

    helm ls