Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase size of NGINX persistent storage to 10Gi #566

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

kasperg
Copy link
Contributor

@kasperg kasperg commented Jan 6, 2025

What does this PR do?

Increase size of NGINX persistent storage to 10Gi.

This is the size limit currently set by the largest library site. Make this the default for all sites.

We currently do not have a good way to set individual size limits per site. This has created a suboptimal workflow where the site in question has to be updated manually after each workflow for the deployment to complete.

We could introduce a way to control this per site in sites.yaml but it would not provide much value. We pay for storage used - not reserved. Consequently increasing the limit for all sites should not increase costs considerably until it is actually used.

All this in mind we increase the size of the the persistent storage for the Lagoon default of 5Gb to 10Gb.
https://docs.lagoon.sh/concepts-basics/docker-compose-yml/#persistent-storage

We only need to apply this to one service. We intentionally choose the nginx one as this is the one currently bumped on one library site. Kubernetes will complain if we to try decrease the limit for attached storage. This will occur if we apply this setting to other services.

Should this be tested by the reviewer and how?

As I see it it is pretty hard to review.

Any specific requests for how the PR should be reviewed?

As I see it it is pretty hard to test.

What are the relevant tickets?

https://reload.atlassian.net/browse/DDFDRIFT-245

This is the size limit currently set by the largest library site. Make
this the default for all sites.

We currently do not have a good way to set individual size limits per
site. This has created a suboptimal workflow where the site in
question has to be updated manually after each workflow for the
deployment to complete.

We could introduce a way to control this per site in sites.yaml but it
would not provide much value. We pay for storage used - not reserved.
Consequently increasing the limit for all sites should not increase
costs considerably until it is actually used.

All this in mind we increase the size of the the persistent storage
for the Lagoon default of 5Gb to 10Gb.
https://docs.lagoon.sh/concepts-basics/docker-compose-yml/#persistent-storage

We only need to apply this to one service. We intentionally choose
the nginx one as this is the one currently bumped on one library site.
Kubernetes will complain if we to try decrease the limit for attached
storage. This will occur if we apply this setting to other services.
Copy link
Contributor

@xendk xendk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@kasperg kasperg merged commit 036bef2 into main Jan 7, 2025
1 check passed
@kasperg kasperg deleted the bump-nginx-persistent-size branch January 7, 2025 08:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants