Skip to content

Commit 0fca4e5

Browse files
committed
Enable PgBouncer and NGINX proxy, switch to session pool mode
Signed-off-by: Yosief Eyob <yosiefogbazion@gmail.com>
1 parent f64af9a commit 0fca4e5

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

charts/mcp-stack/values.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,9 +1043,9 @@ postgres:
10431043
# GKE: "standard", "ssd", "premium-rw"
10441044
# Azure AKS: "default", "managed-premium", "azurefile"
10451045
# Bare Metal: "local-path", "nfs-client"
1046-
useReadWriteOncePod: true # Prefer strict single-pod mount semantics when supported by your CSI/storage class
1046+
useReadWriteOncePod: false # # Disabled — NFS volumes only support ReadWriteMany
10471047
# Set false to fall back to accessModes below on clusters/storage classes without RWOP support
1048-
accessModes: [ReadWriteOnce]
1048+
accessModes: [ReadWriteMany]
10491049
size: 5Gi
10501050
reclaimPolicy: Retain # Retain prevents data loss when PVC is deleted (manual cleanup required after uninstall)
10511051
annotations: {} # Optional annotations for backup tools
@@ -1132,7 +1132,7 @@ postgres:
11321132
# Reduces connection overhead, improves throughput under high concurrency.
11331133
########################################################################
11341134
pgbouncer:
1135-
enabled: false # Set to true to route DB traffic through PgBouncer
1135+
enabled: true # Set to true to route DB traffic through PgBouncer
11361136

11371137
image:
11381138
repository: edoburu/pgbouncer
@@ -1503,7 +1503,7 @@ mcpFastTimeServer:
15031503
# NGINX PROXY - Reverse proxy / cache layer in front of the gateway
15041504
########################################################################
15051505
nginxProxy:
1506-
enabled: false
1506+
enabled: true
15071507

15081508
image:
15091509
repository: mcpgateway/nginx-cache
@@ -1516,7 +1516,7 @@ nginxProxy:
15161516

15171517
# Nginx cache persistence
15181518
persistence:
1519-
enabled: true
1519+
enabled: false
15201520
storageClassName: ""
15211521
accessModes: [ReadWriteOnce]
15221522
size: 2Gi

0 commit comments

Comments
 (0)