Persistent Volume Claims

Learn how to put the latest open source technology into practice with hands-on training, delivered by industry experts, aligned to your desired business outcomes

A PersistentVolumeClaim is a request for storage and is an abstraction of persistent volumes. PersistentVolumeClaims bind to PersistentVolumes on a number of factors like label selectors, storage class name, storage capacity, and access mode. PersistentVolumeClaims will bind to existing PersistentVolumes in the cluster that fulfill their requirements or dynamically create PersistentVolumes using an existing StorageClass.
Below is an example of a PersistentVolumeClaim that binds to the PersistentVolume example shown above:

apiVersion: v1
kind: PersistentVolumeClaim
  name: app-pvc
    - ReadWriteOnce
      storage: 50Gi

The PersistentVolumeClaim must find a PersistentVolume with up to 50 gigabytes of storage and the ReadWriteOnce access mode in its manifest.
Learn more about PersistentVolumeClaims