feat(postgres): deploy connection pooler
All checks were successful
Renovate / renovate (push) Successful in 40s
All checks were successful
Renovate / renovate (push) Successful in 40s
This commit is contained in:
parent
caede76c19
commit
1fe2f119da
2 changed files with 16 additions and 0 deletions
|
@ -7,6 +7,7 @@ resources:
|
|||
- resources/secrets/cnpg-backup-creds.yaml
|
||||
- resources/cluster.yaml
|
||||
- resources/backup.yaml
|
||||
- resources/pool.yaml
|
||||
|
||||
helmCharts:
|
||||
- releaseName: cnpg
|
||||
|
|
15
cnpg/resources/pool.yaml
Normal file
15
cnpg/resources/pool.yaml
Normal file
|
@ -0,0 +1,15 @@
|
|||
apiVersion: postgresql.cnpg.io/v1
|
||||
kind: Pooler
|
||||
metadata:
|
||||
name: app-cluster-rw
|
||||
spec:
|
||||
cluster:
|
||||
name: app-cluster
|
||||
|
||||
instances: 3
|
||||
type: rw
|
||||
pgbouncer:
|
||||
poolMode: session
|
||||
parameters:
|
||||
max_client_conn: "1000"
|
||||
default_pool_size: "10"
|
Loading…
Reference in a new issue