Open SpikePy opened 2 years ago
I am running a kubernetes cluster with 2 postgresql instances. I found out that you can do a switchover via patronictl switchover or by changing the leader in the postgres-leader-configmap.
patronictl switchover
Which is the recommended way and why?
I usually do it via patronictl switchover from inside the pod. postgres-leader-configmap sounds like something I would leave to Patroni to update.
postgres-leader-configmap
I am running a kubernetes cluster with 2 postgresql instances. I found out that you can do a switchover via
patronictl switchover
or by changing the leader in the postgres-leader-configmap.Which is the recommended way and why?