AccessMode
The Kubernetes AccessMode
field in a PVC can receive the following values:
(reference K8s Docs – Volume AccessMode)
ReadWriteOnce
– the volume can be mounted as read-write by a single nodeReadOnlyMany
– the volume can be mounted read-only by many nodesReadWriteMany
– the volume can be mounted as read-write by many nodes
FileSystem Volumes
When creating a FileSystem
Volume the CSI Driver currently supports only non-shared File Systems (ext4 and xfs)
This means that the user should make sure that no more than one POD is writing to the Volume at the same time, and multiple readers might not have the most updated data.
About using the PVC AccessMode
field please see below.
To deploy any other file system, please create a BlockVolume and deploy the file system after the volume was created.
Post your comment on this topic.