Add pooling config to ignore additional startup params

main
trivernis 10 months ago
parent 703d5c7eca
commit 9d1b012de0
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

@ -10,5 +10,6 @@ resources:
- app/config.yaml
- app/volume.yaml
- app/stackgres-scripts.yaml
- app/stackgres-pooling.yaml
- app/stackgres.yaml
- app/deploy.yaml

@ -0,0 +1,12 @@
apiVersion: stackgres.io/v1
kind: SGPoolingConfig
metadata:
name: pgbouncerconf
namespace: sharkey
spec:
pgBouncer:
pgbouncer.ini:
pgbouncer:
max_client_conn: '2000'
default_pool_size: '50'
ignore_startup_parameters: statement_timeout

@ -12,6 +12,8 @@ spec:
size: '50Gi'
storageClass: ebs-ssd
prometheusAutobind: true
configurations:
sgPoolingConfig: pgbouncerconf
managedSql:
scripts:
- sgScript: cluster-scripts

Loading…
Cancel
Save