access mode
The sharing rule a volume supports, such as ReadWriteOnce for one node at a time or ReadWriteMany for many nodes at once.
In more detail
A claim's access modes must be ones the volume supports, or it will not bind. ReadWriteOnce is per node, not per pod, so pods on the same node can share it. Many block storage systems only offer ReadWriteOnce.
Example
accessModes:
- ReadWriteOnceRelated terms
- PersistentVolumeClaim — A namespaced request for storage of a given size and access mode, which Kubernetes binds to a matching PersistentVolume.
- PersistentVolume — A cluster-scoped object representing a piece of real storage, such as a cloud disk, that a claim can bind to.
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
- Mock Exam: Seventeen Tasks Against The Clock — Certified Kubernetes Administrator (CKA) Exam Prep
- Persistent And Ephemeral Volumes — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Design And Build: Timed Drill And Checkpoint — Certified Kubernetes Application Developer (CKAD) Exam Prep
- Bookings That Survive The Pod: Volumes And Claims — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- The Festival, End To End: Final Review — Kubernetes and Cloud Native Associate (KCNA) Exam Prep
- Volumes, PersistentVolumes And PersistentVolumeClaims — Kubernetes: Production-Grade Container Orchestration