Skip to main content
Version: 3.1

CSI enabled storage classes by Portworx in OCP on bare metal

Summary and Key concepts

Summary:

This article provides information about the CSI-enabled storage classes offered by Portworx, which are pre-configured for different use cases. These storage classes support CSI features and dynamic provisioning. Users are advised to choose from the available out-of-the-box storage classes, such as px-csi-db, px-csi-db-encrypted, and others, depending on their requirements. The article also includes a table showing details about each storage class, including their provisioner, reclaim policy, and volume binding mode. It references links to learn more about the StorageClass parameters supported by Portworx.

Kubernetes Concepts:

  • StorageClass: Defines how storage volumes are dynamically provisioned in Kubernetes.
  • ReclaimPolicy: Specifies what happens to the volume after its release. In this article, all storage classes use the Delete policy, meaning the volume will be deleted after it is released.
  • VolumeBindingMode: Defines when the volume binding and provisioning occurs. In this case, Immediate means the volume is provisioned as soon as the PVC is created.
  • AllowVolumeExpansion: Indicates whether the volume can be resized after creation.

Portworx Concepts:

  • Portworx CSI Driver: Implements the CSI specification to expose Portworx storage in Kubernetes environments.
  • CSI Enabled Storage Classes: Pre-configured storage classes provided by Portworx for dynamic provisioning and advanced storage features like encryption and snapshots.

CSI Enabled Storage Classes

Portworx offers a set of storage classes out of the box for various use cases. Use any of the StorageClasses listed in the following output.

note

Enable CSI for a StorageClass by setting the provisioner value to pxd.portworx.com.

NAME                                 PROVISIONER                     RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
px-csi-db pxd.portworx.com Delete Immediate true 12d
px-csi-db-cloud-snapshot pxd.portworx.com Delete Immediate true 12d
px-csi-db-cloud-snapshot-encrypted pxd.portworx.com Delete Immediate true 12d
px-csi-db-encrypted pxd.portworx.com Delete Immediate true 12d
px-csi-db-local-snapshot pxd.portworx.com Delete Immediate true 12d
px-csi-db-local-snapshot-encrypted pxd.portworx.com Delete Immediate true 12d
px-csi-replicated pxd.portworx.com Delete Immediate true 12d
px-csi-replicated-encrypted pxd.portworx.com Delete Immediate true 12d