Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Concelier Attestation Tests / attestation-tests (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Export Center CI / export-ci (push) Has been cancelled
devportal-offline / build-offline (push) Has been cancelled
30 lines
696 B
YAML
30 lines
696 B
YAML
apiVersion: postgresql.cnpg.io/v1
|
|
kind: Pooler
|
|
metadata:
|
|
name: stellaops-pg-prod-pooler
|
|
namespace: platform-postgres
|
|
spec:
|
|
cluster:
|
|
name: stellaops-pg-prod
|
|
instances: 3
|
|
type: rw
|
|
pgbouncer:
|
|
parameters:
|
|
pool_mode: transaction
|
|
max_client_conn: "1500"
|
|
default_pool_size: "80"
|
|
server_reset_query: "RESET ALL; SET SESSION AUTHORIZATION DEFAULT; SET TIME ZONE 'UTC';"
|
|
authQuerySecret:
|
|
name: stellaops-pg-app
|
|
template:
|
|
spec:
|
|
containers:
|
|
- name: pgbouncer
|
|
resources:
|
|
requests:
|
|
cpu: "150m"
|
|
memory: "192Mi"
|
|
limits:
|
|
cpu: "750m"
|
|
memory: "384Mi"
|