Persistentvolumes

PersistentVolumes (PVs) in Kubernetes are a way to provide durable storage for containerized applications. They abstract underlying storage infrastructure, allowing administrators to provision storage resources independently of the pod or workload consuming it. PVs are not namespaced, meaning they are available cluster-wide and can be accessed by any pod within the Kubernetes cluster.

A PersistentVolume represents a piece of storage in the cluster that has been provisioned by an administrator. It can be a physical disk, network storage, or cloud storage. PVs are consumed by PersistentVolumeClaims (PVCs), which are requests for storage made by pods. PVCs bind to PVs based on matching criteria such as access mode, storage class, and capacity.

PVs support various storage types and access modes, providing flexibility for different application requirements. They also support features like storage class, reclaim policy, and volume expansion. PVs are dynamically provisioned or statically configured by cluster administrators, depending on the storage infrastructure and policies in place.

Resource details

  • Api group: core
  • Namespaced: No
  • Shortnames:
    • pv
  • Verbs:
    • create
    • delete
    • get
    • list
    • patch
    • update
    • watch