cloudnativepg: implement connection pool #6
This commit is contained in:
14
postgres/config/poolers/pooler-weyma.yaml
Normal file
14
postgres/config/poolers/pooler-weyma.yaml
Normal file
@@ -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"
|
||||||
Reference in New Issue
Block a user