<p>My kubernetes cluster has 3 pods for postgres. I have configured persistent volume outside of the cluster on a separate virtual machine. Now as per kubernetes design, multiple pods will be responding to read/write requests of clients. Is their any dead lock or multiple writes issues that can occur between multiple postgres pods?</p>

Meta-Coder
<p>You would need a leader election system between them. There can be only one active primary in a Postgres cluster at a time (give or take very very niche cases). I would recommend <a href="https://github.com/zalando-incubator/postgres-operator" rel="nofollow noreferrer">https://github.com/zalando-incubator/postgres-operator</a> instead.</p>
