Skip to content

Commit

Permalink
fix: increase gitlab webservice mem limit to recommended min (#102)
Browse files Browse the repository at this point in the history
## Description

When using the dev bundle locally, observed consistent OOMKilled crashes
of the webservice pod with current 2.5G memory limit, which is below the
gitlab recommended minimum:
https://docs.gitlab.com/charts/charts/gitlab/webservice/#memory-requestslimits

Increase limit to 3.5G to align with gitlab recommendations, but leave
requests unchanged.

## Related Issue

Fixes #
<!-- or -->
Relates to #

## Type of change

- [X] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [ ] Test, docs, adr added or updated as needed
- [ ] [Contributor Guide
Steps](https://github.com/defenseunicorns/uds-software-factory/blob/main/CONTRIBUTING.md#developer-workflow)
followed

Signed-off-by: Samuel Sarnowski <samuel@defenseunicorns.com>
  • Loading branch information
sarnowski-defense-unicorns authored Sep 30, 2024
1 parent 5f6dbc7 commit 17e1ad4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bundles/dev/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ packages:
path: "gitlab.webservice.resources"
default:
limits:
memory: 2.5G
memory: 3.5G
requests:
cpu: 300m
memory: 2.5G
Expand Down
2 changes: 1 addition & 1 deletion bundles/k3d-demo/uds-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ packages:
path: "gitlab.webservice.resources"
default:
limits:
memory: 2.5G
memory: 3.5G
requests:
cpu: 300m
memory: 2.5G
Expand Down

0 comments on commit 17e1ad4

Please sign in to comment.