CSI enabled storage classes by Portworx in airgapped 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. We recommend that you use any of the StorageClasses listed in the following output. Refer to StorageClass Parameters for more information about StorageClass parameters that Portworx supports.
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