2024-08-14 19:43:10 +00:00
|
|
|
apiVersion: postgresql.cnpg.io/v1
|
|
|
|
kind: Pooler
|
|
|
|
metadata:
|
2024-08-14 19:49:51 +00:00
|
|
|
name: app-cluster-pooler-rw
|
2024-08-14 19:44:22 +00:00
|
|
|
namespace: postgres
|
2024-08-14 19:43:10 +00:00
|
|
|
spec:
|
|
|
|
cluster:
|
|
|
|
name: app-cluster
|
|
|
|
|
|
|
|
instances: 3
|
|
|
|
type: rw
|
|
|
|
pgbouncer:
|
2024-08-21 07:04:29 +00:00
|
|
|
poolMode: session
|
2024-08-14 19:43:10 +00:00
|
|
|
parameters:
|
|
|
|
max_client_conn: "1000"
|
2024-08-16 12:10:35 +00:00
|
|
|
default_pool_size: "10"
|
2024-10-10 19:33:02 +00:00
|
|
|
ignore_startup_parameters: "search_path"
|
2024-08-16 12:10:35 +00:00
|
|
|
monitoring:
|
2024-10-10 19:33:02 +00:00
|
|
|
enablePodMonitor: true
|