[postgresql-ha] Use pgpool service as db connection proxy #542
Reference in New Issue
Block a user
No description provided.
Delete Branch "refs/pull/542/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of the change
The
postgresql-ha
provides a dedicated deployment and service calledpgpool
. This application is a proxy that routes the db queries to the active database replica. There's a note about that in their README1.Issue #502 is a side-effect of not using that proxy.
Possible drawbacks
Using the Charts' default configuration, the
pgpool
deployment has 1 replica, making this a single-point of failure. But users can change the relatedpostgresql-ha.pgpool.replicaCount
to their needs.Applicable issues
Checklist
https://github.com/bitnami/charts/blob/main/bitnami/postgresql-ha/templates/postgresql/statefulset.yaml#introduction ↩︎
The build failed because the added test failed.
I wanted to verify that the build actually fails. Adding the actual fix now...
Oh wow, another deep dive and 🚀 -like find of yours! 👏
That indeed all makes sense and should fix #502.
Also great to see the power of
helm-unittest
- using it like this is really great.