Home > Storage > PowerFlex > White Papers > Red Hat OpenShift 4.14 deployment on Dell PowerFlex > Deployment instructions
Follow these steps to deploy the PowerFlex CSI driver on an OpenShift cluster:
1. Run the following command to download the installation source files from GitHub:
$ git clone https://github.com/dell/csi-vxflexos
2. Run the following command to create the namespace called “vxflexos”:
$ kubectl create namespace vxflexos
3. Run the following command to change to the downloaded CSI directory:
$ cd csi-vxflexos/
4. Using vi, prepare the driver configuration file, samples/config.yaml. Provide the PowerFlex system details like username and password (admin-level credentials in the MDM cluster), systemID, endpoint (PowerFlex Gateway) IP address, and MDM IP addresses.
$ vi samples/secret.yaml - username: "admin" password: "*******" systemID: "f73dbf37b64ae90f" endpoint: "https://192.168.150.80" isDefault: true nasName: "none" skipCertificateValidation: true mdm: "192.168.151.115,192.168.152.115"
5. Run the following command to create a secret using the config.yaml file configured in step 4:
$ kubectl create secret generic vxflexos-config -n vxflexos --from-file=config=samples/config.yaml
6. Download the default values.yaml and make the necessary changes as per your need.
cd dell-csi-helm-installer && wget -O myvalues.yaml https://github.com/dell/helm-charts/raw/csi-vxflexos-2.10.1/charts/csi-vxflexos/values.yaml
Note: To connect to a PowerFlex 4.5.2 array, edit the powerflexSdc parameter in your values.yaml file to use dellemc/sdc:4.5.2, Based on PowerFlex version in use.
powerflexSdc: dellemc/sdc:4.5.2
7. Run the following commands to install the driver using csi-install.sh:
$ cd dell-csi-helm-installer $ ./csi-install.sh --namespace vxflexos --values ../helm/myvalues.yaml --node-verify-user core
8. The PowerFlex CSI storage class is not created as part of the driver installation. Edit the storage class YAML files available under samples/storageclass. Provide values for the storage pool and system ID in the storage class YAML files and create it by running the following command:
$ kubectl create -f storageclass.yaml
The CSI driver functionality has been validated in this solution environment by deploying a Pod that uses two PowerFlex volumes.
For more information about the CSI driver validation, see Test PowerFlex CSI Driver.
For more information about the PowerFlex CSI deployment, see PowerFlex CSI Documentation.