Skip to content

Commit 9fe3e94

Browse files
author
kartik494
committed
Added note to improve access modes documentation
1 parent 0297612 commit 9fe3e94

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

content/en/docs/concepts/storage/persistent-volumes.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -412,11 +412,22 @@ A PersistentVolume can be mounted on a host in any way supported by the resource
412412

413413
The access modes are:
414414

415-
* ReadWriteOnce -- the volume can be mounted as read-write by a single node
416-
* ReadOnlyMany -- the volume can be mounted read-only by many nodes
417-
* ReadWriteMany -- the volume can be mounted as read-write by many nodes
418-
* ReadWriteOncePod -- the volume can be mounted as read-write by a single Pod.
419-
This is only supported for CSI volumes and Kubernetes version 1.22+.
415+
`ReadWriteOnce`
416+
: the volume can be mounted as read-write by a single node. ReadWriteOnce access mode still can allow multiple pods to access the volume when the pods are running on the same node.
417+
418+
`ReadOnlyMany`
419+
: the volume can be mounted as read-only by many nodes.
420+
421+
`ReadWriteMany`
422+
: the volume can be mounted as read-write by many nodes.
423+
424+
`ReadWriteOncePod`
425+
: the volume can be mounted as read-write by a single Pod. Use ReadWriteOncePod access mode if you want to ensure that only one pod across whole cluster can read that PVC or write to it. This is only supported for CSI volumes and Kubernetes version 1.22+.
426+
427+
428+
429+
The blog article [Introducing Single Pod Access Mode for PersistentVolumes](/blog/2021/09/13/read-write-once-pod-access-mode-alpha/) covers this in more detail.
430+
420431

421432
In the CLI, the access modes are abbreviated to:
422433

0 commit comments

Comments
 (0)