Unity

You can upgrade the CSI Driver for Dell EMC Unity using Helm or Dell CSI Operator.

Using Helm

Note: While upgrading the driver via helm, controllerCount variable in myvalues.yaml can be at most one less than the number of worker nodes.

Preparing myvalues.yaml is the same as explained in the install section.

To upgrade the driver from csi-unity v1.5 to csi-unity 1.6 (across K8S 1.19, K8S 1.20, K8S 1.21).

  1. Get the latest csi-unity 1.6 code from Github.
  2. Create myvalues.yaml according to csi-unity 1.6 .
  3. Clone the repository https://github.com/dell/csi-unity , copy the helm/csi-unity/values.yaml to the new location csi-unity/dell-csi-helm-installer with name say myvalues.yaml, to customize settings for installation edit myvalues.yaml as per the requirements.
  4. Navigate to common-helm-installer folder and execute the following command: ./csi-install.sh --namespace unity --values ./myvalues.yaml --upgrade

Note:

  1. User has to re-create existing custom-storage classes (if any) according to the latest (v1.6) format.
  2. User has to create Volumesnapshotclass after upgrade for taking Snapshots.
  3. Secret.json/Secret.yaml files can be updated according to Multiarray Normalization parameters only after upgrading the driver.

Using Operator

Note: While upgrading the driver via operator, replicas count in sample CR yaml can be at most one less than the number of worker nodes.

To upgrade the driver from csi-unity v1.5 to csi-unity v1.6 (OpenShift 4.6/4.7) :

  1. Clone the Dell CSI Operator repository.

  2. Execute bash scripts/install.sh --upgrade This command will install the latest version of the operator.

Note: Dell CSI Operator version 1.4.0 and higher would install to the ‘dell-csi-operator’ namespace by default.

  1. To upgrade the driver, refer here.