Skip to content

Commit

Permalink
chore(postgres): enlarge the postgres volume (#605)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
mfocko authored Oct 14, 2024
2 parents c911c4f + 4425eec commit 56c1bb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift/postgres.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

0 comments on commit 56c1bb0

Please sign in to comment.