Update postgres deployment to include connection keepalive and timeout settings
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user