Home > Workload Solutions > Container Platforms > Red Hat OpenShift Container Platform > Guides > Implementation Guide—Red Hat OpenShift Container Platform 4.12 on Intel-powered Dell Infrastructure > Provisioning PowerStore storage
The PowerStore storage system delivers high levels of performance and efficiency with an integrated machine learning (ML) engine. For more information, see Dell PowerStore.
PowerStore supports FC, ISCSI, and NFS protocols using Dell CSI drivers. Setting the driver X-CSI_TRANSPORT_PROTOCOL to auto ensures that FC is used if FC ports are available in the compute node and that iSCSI is used otherwise.
Note: Modify the IP address and NAS server name appropriately.
oc create namespace powerstore
sed "s/CONFIG_YAML/`cat <config file name created in step 1> | base64 -w0`/g" <secret file name created in step 2> | kubectl apply -f -
oc create -f <YAML file>
oc get pods -n powerstore
The following is sample output from the command:
NAME READY STATUS RESTARTS AGE
powerstore-controller-655f4484c8-6hmr7 5/5 Running 0 17s
powerstore-controller-655f4484c8-wm6qj 5/5 Running 0 17s
powerstore-node-2pc82 2/2 Running 0 17s
powerstore-node-4knhz 2/2 Running 0 17s
powerstore-node-cd67f 2/2 Running 0 17s
powerstore-node-hccnl 2/2 Running 0 17s
powerstore-node-rpzc2 2/2 Running 0 17s
oc get csm/powerstore -n powerstore
The following is sample output from the command:
NAME CREATIONTIME CSIDRIVERTYPE CONFIGVERSION STATE
powerstore 48s powerstore v2.7.0 Succeeded
oc create -f <YAML file>
Specify any additional parameters for the storage class as needed.
The following is sample output from the command:
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
dellcsi-powerstore-sc-fc csi-powerstore.dellemc.com Delete Immediate false 30s
oc create -f <YAML file>
Specify any additional parameters for the storage class as needed.
oc get sc
The following is sample output from the command:
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
powerstore-sc-nfs csi-powerstore.dellemc.com Delete Immediate false 20s
To create a dynamic volume:
oc create -f <YAML file>
oc get pvc
The following is sample output from the command:
powerstore-pvc-fc Bound csivol-927257ac26 10Gi RWO dellcsi-powerstore-sc-fc 16s
oc create -f <YAML file>
oc rsh test-pod
Create a PVC for iSCSI and NFS by using the corresponding sample files in GitHub while following the preceding steps.
PowerStore CSI drivers support snapshots of volumes. Create snapshots to back up the iSCSI, FC, or NFS volumes.
oc create -f <yaml file>
oc get volumesnapshotclass
The following is sample output from the command:
NAME DRIVER DELETIONPOLICY AGE
powerstore-snap-class csi-powerstore.dellemc.com Delete 13s
oc create -f <YAML file>
oc get volumesnapshot
The following is sample output from the command:
NAME READYTOUSE SOURCEPVC SOURCESNAPSHOTCONTENT RESTORESIZE SNAPSHOTCLASS SNAPSHOTCONTENT CREATIONTIME AGE
powerstore-snapshot true powerstore-pvc-iscsi 50Gi powerstore-snap-class snapcontent-bbb330b9-5598-4079-a996-e14e8a54cf8a 11s 12s
oc create -f <YAML file>
The snapshot PVC contains the snapshot data from the source PVC.