Skip to content

Commit 62ed12a

Browse files
author
jmccormick2001
committed
add docs for pgbouncer
1 parent 85df5f3 commit 62ed12a

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

hugo/content/getting-started/_index.adoc

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1340,6 +1340,24 @@ pgo user --update-passwords --selector=name=mycluster --expired=5
13401340
13411341
== pgbouncer Basics
13421342
1343+
When a pgbouncer deployment is added into your cluster, it
1344+
will cause the creation of a Secret that holds the pgbouncer
1345+
configuration files:
1346+
* pg_hba.conf
1347+
* pgbouncer.ini
1348+
* users.txt
1349+
1350+
Each user that is defined for your cluster is used to define
1351+
the pgbouncer credentials, using the same password.
1352+
1353+
The pgbouncer configuration includes a connection to a
1354+
database with the name of your cluster (e.g. mycluster) and
1355+
also a database that connects to the cluster's replicas (e.g. mycluster-replica).
1356+
1357+
When you add a new user, it will cause the pgbouncer to be reconfigured
1358+
and a new secret to be generated, the pgbouncer is restarted to
1359+
pick up the new configuration file.
1360+
13431361
Adding a pgbouncer deployment into your PG cluster follows
13441362
a sequence similar to this:
13451363

0 commit comments

Comments
 (0)