apps/cnpg/cluster/resources/pool.yaml

20 lines
374 B
YAML
Raw Permalink Normal View History

apiVersion: postgresql.cnpg.io/v1
kind: Pooler
metadata:
2024-08-14 19:49:51 +00:00
name: app-cluster-pooler-rw
namespace: postgres
spec:
cluster:
name: app-cluster
instances: 3
type: rw
pgbouncer:
poolMode: session
parameters:
max_client_conn: "1000"
default_pool_size: "10"
ignore_startup_parameters: "search_path"
monitoring:
enablePodMonitor: true