reactive-tech / kubegres

Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
https://www.kubegres.io
Apache License 2.0
1.32k stars 74 forks source link

Kubegres Database files into shared PVC storage #172

Open saisworld opened 9 months ago

saisworld commented 9 months ago

I'm trying to deploy Postgresql using Kubegres in Azure. I have configured Azure file storage and set them up as PVC. I was able to link that in the backups but couldn't find any option to link PVC to the Database files. In the yaml file, all I see is the option to enter "storageClassname", if I specify any class like "azurefile-csi" or do not specify anything then kubernetes is automatically creating new disks and attaching to each of the pod.

Is this the expected behaviour ? I was under the impression that all three pods will use the same shared storage and refer to the same file.