diff --git a/databases/pgbouncer.yaml b/databases/pgbouncer.yaml index 8c1d599..4de6a33 100644 --- a/databases/pgbouncer.yaml +++ b/databases/pgbouncer.yaml @@ -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