CrunchyData / postgres-operator

Production PostgreSQL for Kubernetes, from high availability Postgres clusters to full-scale database-as-a-service.
https://access.crunchydata.com/documentation/postgres-operator/v5/
Apache License 2.0
3.94k stars 592 forks source link

change max_connections on an existing cluster #3936

Closed mzwettler2 closed 3 months ago

mzwettler2 commented 4 months ago

Patroni docs state that max_connections is controlled by dcs

Question: How can I change max_connections from 100 (default) to 500 on an already existing pg cluster?

I tried it to simply set it in the yaml file but nothing happend: ... ..patroni: ....dynamicConfiguration: ......postgresql: ........parameters: ..........max_connections: 500 ...

Environment

mzwettler2 commented 4 months ago

the change took place after waiting about 45 minutes. curios.