Home > Storage > PowerStore > Virtualization and Cloud > Dell PowerStore and SUSE Rancher > Create Storage resources for the PowerStore system
Before provisioning PowerStore storage using the CSI driver, create StorageClasses that specify the storage attributes and the PowerStore system to fulfill the storage requests. The StorageClasses are used in Persistent Volume Claims to dynamically provision persistent storage.
To create StorageClasses for PowerStore systems:
The following are examples of storage classes for PowerStore, each using different storage protocols. Dell PowerStore GitHub Repository provides additional examples of PowerStore storage classes and detailed explanation of the parameters.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: powerstore-xfs-ps6
provisioner: csi-powerstore.dellemc.com
parameters:
arrayID: {powerstore-global-id}
csi.storage.k8s.io/fstype: xfs
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: Immediate
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: powerstore-nfs-ps6
provisioner: csi-powerstore.dellemc.com
parameters:
arrayID: {powerstore-global-id}
csi.storage.k8s.io/fstype: nfs
nasName: {powerstore-nas-server-name}
allowRoot: 'true'
reclaimPolicy: Delete
allowVolumeExpansion: true
volumeBindingMode: Immediate
Note: The arrayID refers to the Global ID of PowerStore system. You can locate the Global ID by navigating to PowerStore Manager UI > Settings > Cluster > Properties. See Figure 13.
Navigate to Cluster-Name > Storage > StorageClasses. Click the Import YAML icon on the upper right of the screen. See Figure 20.