fix pgbouncer
This commit is contained in:
parent
d6a1f9d91a
commit
9609737efe
|
@ -43,6 +43,18 @@ spec:
|
|||
value: postgres.databases
|
||||
- name: PGBOUNCER_DATABASE
|
||||
value: nocodelytics_production
|
||||
- name: PGBOUNCER_DEFAULT_POOL_SIZE
|
||||
value: "100"
|
||||
- name: PGBOUNCER_MAX_CLIENT_CONN
|
||||
value: "700"
|
||||
- name: PGBOUNCER_SERVER_IDLE_TIMEOUT
|
||||
value: "60"
|
||||
- name: PGBOUNCER_POOL_MODE
|
||||
value: session
|
||||
- name: PGBOUNCER_RESERVE_POOL_SIZE
|
||||
value: "10"
|
||||
- name: PGBOUNCER_RESERVE_POOL_TIMEOUT
|
||||
value: "5"
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
|
@ -76,18 +88,6 @@ spec:
|
|||
secretKeyRef:
|
||||
name: secrets
|
||||
key: POSTGRES_PASSWORD
|
||||
- name: PGBOUNCER_DEFAULT_POOL_SIZE
|
||||
value: "50"
|
||||
- name: PGBOUNCER_MAX_CLIENT_CONN
|
||||
value: "700"
|
||||
- name: PGBOUNCER_SERVER_IDLE_TIMEOUT
|
||||
value: "60"
|
||||
- name: PGBOUNCER_POOL_MODE
|
||||
value: transaction
|
||||
- name: PGBOUNCER_RESERVE_POOL_SIZE
|
||||
value: "10"
|
||||
- name: PGBOUNCER_RESERVE_POOL_TIMEOUT
|
||||
value: "5"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
|
Loading…
Reference in New Issue