Closed hrithikwins closed 2 months ago
Hey @hrithikwins, a few notes about this after consulting with @tanfarming...
I don't know if we can implement a one-size-fits-all solution like this because your storage classes are going to vary from platform to platform. For instance, you have specified manual as the storage class and ReadWriteMany as the AccessModes, but GKE does not support PVs on disk with ReadWriteMany: https://cloud.google.com/kubernetes-engine/docs/concepts/persistent-volumes#access_modes
Users may want to implement a few potential options for PVs and Community Edition. In the example of GKE, PVs on disk are only possible if you have one instance of ret and pgsql on your cluster. This makes sense for a development instance where you do not want to pay for a full FS instance. But, if someone wants to build out a more production environment or run multiple CE instances on one cluster, they should probably consider setting up NAS storage instead of just using PVs on their VMs' disks.
Happy to go over this in more detail during next week's session!
Alright makes sense,
FYI Scaleway kubernetes doesn't support ReadWriteMany PV either https://feature-request.scaleway.com/posts/13/add-multi-attach-pv-for-kapsule
Along with persistent volumes here are two major fixes here