From 4425eecd6dbd5e2bbe9bac80812a57247e16c9b7 Mon Sep 17 00:00:00 2001 From: Matej Focko Date: Wed, 9 Oct 2024 22:14:49 +0200 Subject: [PATCH] chore(postgres): enlarge the postgres volume Also resized the stage for the testing purposes, it ain't much(, but it's an honest work), if we reserve a lot of resources on preprod, we can relax it (we're using barely 300MB on stage). Turns out that you, indeed, can resize the PVC with the pod running and then just rescale the deployment (postgres). Fixes #604 Signed-off-by: Matej Focko --- openshift/postgres.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openshift/postgres.yml.j2 b/openshift/postgres.yml.j2 index af6bdef..d3a1ddf 100644 --- a/openshift/postgres.yml.j2 +++ b/openshift/postgres.yml.j2 @@ -137,7 +137,7 @@ spec: - ReadWriteOnce resources: requests: - storage: "{{ '4Gi' if deployment == 'prod' else '1Gi' }}" + storage: "{{ '8Gi' if deployment == 'prod' else '2Gi' }}" {% if managed_platform %} storageClassName: aws-ebs {% endif %}