Closed wunderlichh closed 3 years ago
Thank you for your message.
Kubegres monitors the volumes and volumeMounts fields of each StatefulSet. And it is not possible to disable it.
However, what you can do is to add the volumes and volumeMounts configurations that you mention in the YAML of 'kind: Kubegres' representing your cluster of Postgres. Then those volumes and volumeMounts will apply to all StatefulSets and Pods of a cluster of Postgres.
Please check the field "volume" in this page: https://www.kubegres.io/doc/properties-explained.html
Thank you very much. I wasnt aware of this configuration property. Next time i will spend more time reading the docs before bothering you :)
Hi, first of all thanks for kubegres. We want to use it for a future project and are quite happy that this operator exists.
I am in the process of working out our backup and restore strategy when I ran into a problem. I have configured the Kubegres cluster according to the instructions for creating backups and now I want to restore those to a new cluster. To do this I would like to manually change the StatefulSet of the primary node and mount the PVC where the backups are.
I can save the changes but the operator immediately detects something has been changed and undoes it. Can I prevent this?
Thanks for your help in advance