Before you install the CSI Driver for PowerFlex, verify that the following requirements are met:
- Install Kubernetes.
- Install Helm 3.
- Enable Zero Padding on PowerFlex.
- Install PowerFlex SDC on all Kubernetes nodes.
- Create a Kubernetes secret for PowerFlex credentials.
- Obtain the Helm values for options like PowerFlex system name or ID, default gateway, and MDM IP addresses, and default storage pool.
- Ensure that the volume snapshot requirements are met.
For more information, see Prerequisites section of PowerFlex CSI Documentation.
- Download the installation source files from GitHub.
- Create the namespace called vxflexos.
|$ kubectl create namespace vxflexos
- Collect information from the PowerFlex SDC by running the get_vxflexos_info.sh script.
- Copy the csi-vxflexos/values.yaml into a file called myvalues.yaml in the same directory as the csi-install.sh script.
- Edit myvalues.yaml to set the parameters like file system types, volume name prefix, and controller count, for the installation.
- Create a config.yaml file for driver configuration. This file contains information like the PowerFlex system IP details and credentials.
- Run the sh csi-install.sh command to proceed with the installation.
|$ sh csi-install.sh --namespace vxflexos –values myvalues.yaml
- Check the vxflexos namespace for running pods to verify it is deployed correctly.
$ kubectl get pods -n vxflexos
NAME READY STATUS RESTARTS AGE
vxflexos-controller-5855b6969f-jbbpq 5/5 Running 0 15d
vxflexos-node-6gnlc 2/2 Running 0 15d
vxflexos-node-vswl2 2/2 Running 0 15d
vxflexos-node-zr2r4 2/2 Running 0 15d$
For more information about CSI driver installation, see GitHub.
- Storage classes can be created through the Rancher graphical UI. For more information regarding storage class creation, see Storage Classes.
- Ensure that the PowerFlex CSI driver is running on the Rancher Kubernetes cluster and the PowerFlex Storage classes are listed in the SUSE Rancher menu for any application that is launched in the SUSE Rancher Kubernetes cluster.
Figure 7. Storage Class in Rancher UI
- Test the deployment workflow of a simple pod on PowerFlex storage. For more information, see Test PowerFlex CSI Driver.
- Verify that the persistent volume is created in PowerFlex cluster using PowerFlex graphical user interface.
Figure 8. PowerFlex graphical user interface
- Verify the following output from SUSE Rancher UI and confirm that PowerFlex Persistent Volumes are used by the Kubernetes pods running under the test namespace.
Figure 9. Kubernetes pods running under the test namespace
Steps to install CSI driver for PowerFlex using SUSE Rancher Marketplace
PowerFlex CSI driver is now integrated with SUSE Rancher Marketplace. This integration enables installing CSI driver on RKE2 cluster with just few clicks.
- Log in to the Rancher Server from the browser.
- Click on the RKE2 cluster to view the Cluster Dashboard.
- Click Apps & Marketplace.
- Select All to view the apps from all the vendors and filter for CSI.
- Click Dell CSI PowerFlex. The Chart for Dell CSI PowerFlex is displayed.
- Click Install.
- Select the desired namespace, configure the helm options if required and click Next.
- Configure the different values to be used by Helm and click Install.
- A console displays the install progress and a SUCCESS message appears once the CSI driver is installed on the RKE2 cluster.