Update postgres deployment to include connection keepalive and timeout settings

This commit is contained in:
2025-05-28 15:19:31 -07:00
parent ffbce4da7e
commit a44c1fed37

View File

@@ -16,6 +16,13 @@ spec:
containers:
- name: postgres
image: pgvector/pgvector:pg15
args: [
"-c", "tcp_keepalives_idle=600",
"-c", "tcp_keepalives_interval=30",
"-c", "tcp_keepalives_count=3",
"-c", "statement_timeout=300000",
"-c", "idle_in_transaction_session_timeout=600000"
]
ports:
- containerPort: 5432
envFrom: