lwolf / stolon-chart

Kubernetes Helm chart to deploy HA Postgresql cluster based on Stolon
MIT License
105 stars 39 forks source link

Ability to configure postgres settings #25

Open funky81 opened 6 years ago

funky81 commented 6 years ago

Hi, Thanks for the great postgre charts.... Just wondering, is it possible to change postgre parameters that contain in stolon configmap annotations? I want to change the maximum connection paramters.

Thanks

lwolf commented 6 years ago

Hi, Yes it is possible, but not using configmap for now. Please check the stolon docs for details on how you can do it. https://github.com/sorintlab/stolon/blob/master/doc/cluster_spec.md https://github.com/sorintlab/stolon/blob/master/doc/postgres_parameters.md

funky81 commented 6 years ago

Thanks for your info. Any plans to convert these values into configmap data? Meanwhile, I'll take route to change annotations via command line yaml (ex: kubectl apply -f stolon-configmap.yaml)

I haven't really understand how stolonctl works.

On Wed, Aug 22, 2018, 3:54 AM Sergey Nuzhdin notifications@github.com wrote:

Hi, Yes it is possible, but not using configmap for now. Please check the stolon docs for details on how you can do it. https://github.com/sorintlab/stolon/blob/master/doc/cluster_spec.md https://github.com/sorintlab/stolon/blob/master/doc/postgres_parameters.md

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/lwolf/stolon-chart/issues/25#issuecomment-414818308, or mute the thread https://github.com/notifications/unsubscribe-auth/AAGk7JE72_x7qU-xx2mpAJwZLCclRPitks5uTHNsgaJpZM4WGX3V .

lwolf commented 6 years ago

Yes, having it configurable at least during cluster creating will be useful. Regarding stolonctl - if you're going to use stolon in production, I suggest investing some time in getting to know it.