Skip to content

Commit

Permalink
chore(postgres): enlarge the postgres volume
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 packit#604

Signed-off-by: Matej Focko <[email protected]>
  • Loading branch information
mfocko committed Oct 9, 2024
1 parent c911c4f commit 4425eec
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 4425eec

Please sign in to comment.