VMware Tanzu Kubernetes Grid Integrated Edition

 Is it possible to provision a persistent volume that will be shared among multiple pods?

Jan Cipra's profile image
Jan Cipra posted Aug 22, 2019 03:40 PM

 

Daniel Lynch's profile image
Broadcom Employee Daniel Lynch

i think it is possible to do this with PKS, however it depends on what the storagecalls supports. The storageclass will need to support ReadWriteMany access mode.

https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes

 

but here is a good example of getting this to work using the portworx storage class

https://docs.portworx.com/portworx-install-with-kubernetes/storage-operations/create-pvcs/create-shared-pvcs/#step-3-create-pods-which-uses-persistent-volume-claim

 

 

Sadly vmware does not support the ReadWriteMany access mode as discussed in a similar thread. You may need to implement a NFS solution.

https://community.pivotal.io/s/question/0D50e000059uWA3CAM/nfs-support-as-storage-provider-instead-of-vsphere-for-in-prem-pks-deployment

 

Jan Cipra's profile image
Jan Cipra

Thank you for the answer!

Do you know about any plans that VMware will also support the ReadWriteMany access mode? Maybe with the planned vSAN File?

 

Daniel Lynch's profile image
Broadcom Employee Daniel Lynch

At the moment there are other ways to share storage via NFS or minio S3 provider, etc. I don't know of any plans for vsphere to add support for ReadWriteMany and would recommend reaching out to your Pivotal account Rep or Pivotal Architect to help learn about your use case and provide that feedback to the product.