Persistent volumes

A PersistentVolume is a piece of storage in the cluster, and a PersistentVolumeClaim is a request for storage by a user.

A PersistentVolume (PV) is a piece of storage in the cluster. A PersistentVolumeClaim (PVC) is a request for storage by a user. Pods use PVCs and do not refer to PVs directly. A PV can be created by an administrator (static provisioning) or created on demand from a storage class (dynamic provisioning). A claim binds to one PV, and the binding is one-to-one. A claim that matches no PV stays unbound.

In Cloudera Cloud Factory, the Volume CSI driver provides block storage from Cloudera Cloud Core, and you can request persistent volumes for your applications through a storage class. The Compatibility matrix in Tools and reference lists the verified versions of the driver.

A PV is in one of four phases: Available, Bound, Released, or Failed.

Key defaults and limits

  • The reclaim policy is Retain, Delete, or Recycle. Dynamically provisioned volumes default to Delete. Recycle is deprecated and applies only to nfs and hostPath volumes.
  • Access modes are ReadWriteOnce (RWO), ReadOnlyMany (ROX), ReadWriteMany (RWX), and ReadWriteOncePod (RWOP). RWOP is stable since Kubernetes 1.29 and supports CSI volumes only.
  • Volume expansion is stable since Kubernetes 1.24.
  • Raw block volumes are stable since Kubernetes 1.18.
  • Many in-tree volume types are deprecated or removed. Use a CSI driver instead.

For more information, see Persistent Volumes.