PersistentVolume
A cluster-scoped object representing a piece of real storage, such as a cloud disk, that a claim can bind to.
In more detail
It describes capacity, access modes and a reclaim policy. Administrators can create PersistentVolumes by hand, but usually a StorageClass provisions them on demand. A PersistentVolume binds to exactly one claim.
Example
kubectl get pv pvc-abc123Related terms
- PersistentVolumeClaim — A namespaced request for storage of a given size and access mode, which Kubernetes binds to a matching PersistentVolume.
- StorageClass — A cluster-wide policy that tells Kubernetes how to create new volumes on demand: which driver, which settings, and what happens on delete.
- reclaim policy — The setting that decides what happens to a volume's real storage when its claim is deleted: Delete removes it, Retain keeps it.
- access mode — The sharing rule a volume supports, such as ReadWriteOnce for one node at a time or ReadWriteMany for many nodes at once.
Taught in
- StorageClasses: Why A Claim Waits For Its Pod — Certified Kubernetes Administrator (CKA) Exam Prep
- Volumes By Hand: Access Modes, Binding And Reclaim — Certified Kubernetes Administrator (CKA) Exam Prep
- Choose The Right Workload Resource — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Persistent And Ephemeral Volumes — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Same Name, Wrong Namespace: Objects, Namespaces And Labels — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Five Jobs, Five Workloads — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- The Status Tells You Where To Look: Troubleshooting Pods — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Bookings That Survive The Pod: Volumes And Claims — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Orchestration Sprint: Four Fixes, No Walls Removed — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- The Festival, End To End: Final Review — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Namespaces, Labels And Declarative Manifests — Kubernetes: Production-Grade Container Orchestration
- ConfigMaps, Secrets And Configuration Updates — Kubernetes: Production-Grade Container Orchestration
- Volumes, PersistentVolumes And PersistentVolumeClaims — Kubernetes: Production-Grade Container Orchestration
- Troubleshooting: Pending Claims And Failed Mounts — Kubernetes: Production-Grade Container Orchestration
- The Same Shop On Kubernetes: Pods, Services And Storage For The DCA — Docker Certified Associate (DCA) Exam Prep
- Orchestration Sprint: Eight Calls In Eight Minutes — Docker Certified Associate (DCA) Exam Prep
- Storage Sprint: Eight Questions On Layers, Drivers And Volumes — Docker Certified Associate (DCA) Exam Prep