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

Feature Request: Overriding "pg_hba.conf" without downtime #107

Open bastoune opened 2 years ago

bastoune commented 2 years ago

First, thanks a lot for the great work you did !

As specified here https://www.kubegres.io/doc/override-default-configs.html

If we want to override pg_hba.conf, we are suppose to rollout restart all pods without failover. Consequently, we are going to have a downtime.

Would it be possible to apply it to replicates, promote one of them and then create new replicate to avoid any downtime ?

Will it work if i do something like the following:

Thanks,