From ec15e9de3afc4e1fe58ca8ee33e714e4caa6dc10 Mon Sep 17 00:00:00 2001 From: William P Date: Thu, 13 Nov 2025 15:43:02 -0500 Subject: [PATCH] cloudnativepg: implement connection pool https://git.dubyatp.xyz/infrastructure/db-operators/issues/6 --- postgres/config/poolers/pooler-weyma.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 postgres/config/poolers/pooler-weyma.yaml diff --git a/postgres/config/poolers/pooler-weyma.yaml b/postgres/config/poolers/pooler-weyma.yaml new file mode 100644 index 0000000..7f033ad --- /dev/null +++ b/postgres/config/poolers/pooler-weyma.yaml @@ -0,0 +1,14 @@ +apiVersion: postgresql.cnpg.io/v1 +kind: Pooler +metadata: + name: pooler-weyma-rw +spec: + cluster: + name: weyma-pgsql + instances: 3 + type: rw + pgbouncer: + poolMode: session + parameters: + max_client_conn: "1000" + default_pool_size: "10" \ No newline at end of file