Steps to Upgrade VAST Block 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.6.2 or earlier 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.
- 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
Upgrade Helm-Based Deployment of VAST Block CSI Driver
Complete these steps to upgrade VAST Block CSI Driver:
-
Refresh Helm repository information to see which VAST Block CSI Driver versions are available for deployment:
helm repo update -
Update the VAST Block CSI Driver's Helm chart configuration file (
values.yaml) to specify the target release of the driver:image: csiVastPlugin: repository: <repo> tag: <new release> imagePullPolicy: IfNotPresent-
<repo>is the name of the Helm repository. -
<new release>is the 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>/vastblock -f <filename>.yamlWhere:
-
<old release>is the driver release to be upgraded from. -
<repo>is the name of the Helm repository. -
vastblockis the name of the driver's Helm chart. -
<filename>.yamlis the Helm chart configuration file.
-
-
Verify the status of the new release:
helm ls