PowerFlex
CSM 1.7.1 is applicable to helm based installations of PowerFlex driver.
You can upgrade the CSI Driver for Dell PowerFlex using Helm or Dell CSI Operator.
Update Driver from v2.6 to v2.7.1 using Helm
Steps
- Run
git clone -b v2.7.1 https://github.com/dell/csi-powerflex.git
to clone the git repository and get the v2.7.1 driver. - You need to create secret.yaml with the configuration of your system. Check this section in installation documentation: Install the Driver
- Update values file as needed.
- Run the
csi-install
script with the option --upgrade by running:cd ../dell-csi-helm-installer && ./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --upgrade
NOTE:
-
If you are upgrading from a driver version that was installed using Helm v2, ensure that you install Helm3 before installing the driver.
-
To update any installation parameter after the driver has been installed, change the
myvalues.yaml
file and run the install script with the option --upgrade, for example:./csi-install.sh --namespace vxflexos --values ./myvalues.yaml --upgrade
-
The logging configuration from v1.5 will not work in v2.1, since the log configuration parameters are now set in the values.yaml file located at helm/csi-vxflexos/values.yaml. Please set the logging configuration parameters in the values.yaml file.
-
You cannot upgrade between drivers with different fsGroupPolicies. To check the current driver’s fsGroupPolicy, use this command:
kubectl describe csidriver csi-vxflexos.dellemc.com
and check the “Spec” section:
... Spec: Attach Required: true Fs Group Policy: ReadWriteOnceWithFSType Pod Info On Mount: true Requires Republish: false Storage Capacity: false ...
Upgrade using Dell CSI Operator:
Note: Upgrading the Operator does not upgrade the CSI Driver.
- Please upgrade the Dell CSI Operator by following here.
- Once the operator is upgraded, to upgrade the driver, refer here.
Upgrade using Dell CSM Operator:
Note: Upgrading the Operator does not upgrade the CSI Driver.