Volume mode
Volume mode is a PersistentVolumeClaim setting that selects filesystem or raw-block presentation for the requested storage.
Acing the Certified Kubernetes Administrator Exam, Second Edition
Block volume mode exposes a persistent volume as an unformatted raw block device rather than a mounted filesystem.
- How it is used
- Guides persistent-volume configuration when workloads require either a mounted directory or a raw block device.
- How deep it goes
- Defines both modes, shows the YAML field and verification command, but does not require creating the underlying block storage.
- Examples
- Uses PV YAML, kubectl apply, kubectl describe, local disks, EBS, Azure Disk, iSCSI, Fibre Channel, and CephFS.
- What you can do after
- Configure a PV as FileSystem or Block and verify the resulting mode with kubectl.
Read how Acing the Certified Kubernetes Administrator Exam, Second Edition explains volume mode →
Kubernetes in Action, Second Edition
Volume mode is a PersistentVolumeClaim specification that selects filesystem or raw-block presentation for the requested storage.
- How it is used
- Selects whether a PersistentVolumeClaim receives directory-mounted filesystem storage or a raw block device.
- How deep it goes
- Defines both modes, their container presentation, default behavior, and typical use, but does not detail implementation internals.
- Examples
- Uses a quiz-data PersistentVolumeClaim that omits volumeMode and therefore requests filesystem storage.
- What you can do after
- Configure a PersistentVolumeClaim to request filesystem or raw-block presentation for an application.
Read how Kubernetes in Action, Second Edition explains volume mode →
Related concepts
- 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.
- file systemconfigures · A file system is a software-managed structure and interface for organizing, naming, storing, and accessing files and directories on storage.
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.

