Skip to content

Commit 668d82d

Browse files
fix(rest-postgres): increase postgres PVC storage to 10Gi
The postgres StatefulSet requested a 1Gi PVC. Despite the nico_rest database moving to nico-pg-cluster in #3081, this StatefulSet is still applied on every reference install by helm-prereqs/setup.sh (Phase 7c), and postgres-0 remains the single backing store for Temporal (temporal, temporal_visibility) and Keycloak, plus nico-rest-api and the workflow workers in the standalone kustomize path and in local kind dev. Temporal history and visibility are the fastest-growing tables in the stack, and Keycloak shares the volume, so a full disk takes out authentication along with workflow execution. Bump the volumeClaimTemplates request to 10Gi, matching the postgresql.volumeSize default already used for nico-pg-cluster in helm-prereqs. Update the manifest table in INSTALLATION.md to match. Signed-off-by: Shreyansh Agarwal <shreyansh.agarwal@e2enetworks.com>
1 parent 9d296f6 commit 668d82d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rest-api/deploy/INSTALLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ A single-replica PostgreSQL 14 StatefulSet that hosts all databases for the NICo
169169
| `base/postgres/namespace.yaml` | `postgres` namespace |
170170
| `base/postgres/admin-creds.yaml` | Secret `admin-creds` — postgres superuser password |
171171
| `base/postgres/init-configmap.yaml` | ConfigMap `postgres-init` — SQL init script |
172-
| `base/postgres/statefulset.yaml` | StatefulSet `postgres``postgres:14.4-alpine`, 1Gi PVC |
172+
| `base/postgres/statefulset.yaml` | StatefulSet `postgres``postgres:14.4-alpine`, 10Gi PVC |
173173
| `base/postgres/service.yaml` | ClusterIP Service on port 5432 — DNS: `postgres.postgres` |
174174
| `base/postgres/adminer.yaml` | Optional Adminer web UI |
175175

rest-api/deploy/kustomize/base/postgres/statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,4 +76,4 @@ spec:
7676
accessModes: ["ReadWriteOnce"]
7777
resources:
7878
requests:
79-
storage: 1Gi
79+
storage: 10Gi

0 commit comments

Comments
 (0)