zalando / postgres-operator

Postgres operator creates and manages PostgreSQL clusters running in Kubernetes
https://postgres-operator.readthedocs.io/
MIT License
4.22k stars 968 forks source link

Possibility of running multiple replicas for postgres-operator pods #2353

Open gris-gris opened 1 year ago

gris-gris commented 1 year ago

Please, answer some short questions which should help us to understand your problem / question better?

Is it possible to run postgres-operator pods deployment more that 1 replica?

Deployment postgres/postgres-operator in chart:

...
spec:
  replicas: 2
...
drivebyer commented 1 month ago

It seems that the operator does not support leader election when multiple replicas are running.

ping @FxKu