Readwriteonce
ReadWriteOnce is a Kubernetes persistent-storage access mode allowing a volume to be mounted for read-write use by a single node.
Kubernetes in Action, Second Edition
ReadWriteOnce is a Kubernetes volume access mode that permits a volume to be attached read-write to one node, while multiple pods on that node may use it.
- How it is used
- Supports shared read-write storage for multiple pods that are placed on one Kubernetes node.
- How deep it goes
- Explains node attachment, pod scheduling effects, and diagnostic events, but does not detail storage-provider implementation.
- Examples
- Demonstrates BusyBox pods writing hostname files, inspecting logs, and failing cross-node attachment.
- What you can do after
- Diagnose scheduling and attachment behavior by comparing pod nodes, statuses, and volume events.
Read how Kubernetes in Action, Second Edition explains readwriteonce →
Kubernetes for Developers
ReadWriteOnce is a persistent-storage access mode that permits a volume to be mounted for read-write use by a single node.
- How it is used
- Uses one Pod’s read-write access to back stateful workloads with traditional block-based persistent storage.
- How deep it goes
- Defines access-mode choices and claim binding, while deferring StorageClass details to separate treatment.
- Examples
- Demonstrates a MariaDB Pod requesting 2 GiB and mounting the claim at /var/lib/mysql.
- What you can do after
- Configure a Kubernetes PersistentVolumeClaim with ReadWriteOnce and verify its bound PersistentVolume using kubectl.
Related concepts
- access modekind of · An access mode is a persistent-storage policy specifying how and by how many nodes or Pods a volume may be mounted for reading and writing.
- persistent volumeconfigures · A persistent volume is durable storage provisioned independently of an individual workload’s lifecycle, allowing data to survive workload replacement or restart.
- persistent volume claimconfigures · A PersistentVolumeClaim is a Kubernetes resource through which a workload requests persistent storage with specified capacity, access modes, and other storage characteristics.
- ReadWriteOncePodcontrasts with · ReadWriteOncePod is a Kubernetes volume access mode allowing a volume to be mounted read-write by only one pod at a time.
- readwritemanycontrasts with · ReadWriteMany is a Kubernetes volume access mode allowing a volume to be mounted concurrently as read-write by multiple nodes or pods.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

