Steps to Upgrade VAST CSI Driver
Choose your upgrade path:
-
To upgrade from 2.6.3 or later to 2.7.x:
- Follow the procedure for upgrading a Helm-based deployment.
-
To upgrade from 2.3.x, 2.4.x, 2.5.x, 2.6.1, 2.6.2 to 2.7.x:
-
Delete all storage classes created via Helm in versions prior to 2.6.3 and recreate them via Helm so that the driver applies the
secretNameandsecretNamespacesettings to them (introduced in 2.6.3). -
Follow the procedure for upgrading a Helm-based deployment.
-
Containers referencing VAST CSI Driver will run with the new version of VAST CSI Driver the next time they are created.
Upgrade Helm-Based Deployment of VAST CSI Driver
Use the following procedure if both old and new release of VAST CSI Driver are deployed using a Helm chart.
-
Refresh Helm repository information to see which VAST CSI Driver versions are available for deployment:
helm repo update -
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-
<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.7.0 imagePullPolicy: IfNotPresent -
-
Run Helm upgrade:
helm upgrade <old release> <repo>/vastcsi -f <filename>.yamlWhere:
-
<old release>is the VAST CSI Driver release to be upgraded from. -
<repo>is the name of the VAST CSI Driver Helm repository. -
vastcsiis the name of the VAST CSI Driver Helm chart. -
<filename>.yamlis the Helm chart configuration file.
For example:
helm upgrade csi-driver vastcsi/vastcsi -f values.yaml -
-
Verify the status of the new VAST CSI Driver chart release:
helm ls