Perform the following steps to deploy the PowerFlex CSI driver on an OpenShift cluster:
- Log in to OpenShift UI using the kubeadmin user credentials.
- Create a new project, for example, vxflexos, by selecting Home > Projects > Create Project . Enter a name and then Click Create:
Figure 15. Creating a new project in the OpenShift UI
a. Create a secret to access PowerFlex storage cluster. Select Home > Workloads > Secrets > Create > Key/value secret.
Figure 16. Creating a secret b. Enter the Secret name, Key and Value and click Create. You can use the values collected in the Prerequisites section.
Figure 17. Updating PowerFlex details in the secret
4. Creating a ConfigMap:
a. To create a ConfigMap, go to Home > Workloads > ConfigMap > Create ConfigMap.
Figure 18. Creating a ConfigMap b. Update the details for the ConfigMap. See the example YAML file which shows the ConfigMap configuration. Copy and paste this YAML file in the YAML editing box as shown in the following figure:
5. To install Dell CSI Operator, go to OperatorHub in the OpenShift UI and search for Dell CSI Operator. Click Dell CSI Operator and click Install.
Figure 20. Dell CSI operator in the OpenShift UI
6. In the Install Operator page, review the default values and click Install to install the operator.
Figure 21. Installing the CSI operator
7. Once the operator is installed, click Installed Operators and select the previously created project example vxflexos. Click Dell CSI Operator and then click Create instance on the CSI PowerFlex tile to create an instance of the Dell CSI PowerFlex. See the example YAML file which shows the CSI instance configuration. Copy and paste the YAML file from in the YAML editing box as shown in the following figure:
Figure 22. Dell CSI PowerFlex instance
8. Once the instance is created, check that all the PowerFlex CSI PODs are running by selecting Workloads > Pods.
Figure 23. PowerFlex CSI Pods
9. Creating Storage Class.
a. To create a storage class, go to Storage > StorageClasses . Click Create StorageClass.
Figure 24. Creating a StorageClass b. Update the required fields and provide a few PowerFlex parameters like storagepool, protectiondomain, systemID and click Create.
Figure 25. StorageClass details
For more information about the PowerFlex CSI deployment, see PowerFlex CSI Documentation.