ReadWriteMany (RWX) is a Kubernetes volume access mode that lets multiple nodes attach the same volume concurrently while allowing read and write operations. It supports workloads whose pods run on different nodes and share files. section 10.2.4
Keep these operational distinctions in mind:
- RWX removes the single-node restriction that causes multi-attach failures with read-write-once storage. section 10.2.4
- Support depends on the storage technology; a cluster’s default StorageClasses may not provide ReadWriteMany. section 10.2.4
- Test the mode by selecting an RWX-capable storageClassName in a PersistentVolumeClaim and creating pods that may schedule on different nodes. section 10.2.4
$ gcloud container clusters update <cluster-name> \ --update-addons=GcpFilestoreCsiDriver=ENABLED
On Google Kubernetes Engine, enable the GcpFilestoreCsiDriver to make additional ReadWriteMany-capable StorageClasses available; the Cloud Filestore API is also required. section 10.2.4
