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

[local-preview] set low memory & cpu requirements #12657

Merged
merged 1 commit into from
Sep 6, 2022
Merged

Conversation

Pothulapati
Copy link
Contributor

Description

Updates ws-daemon and minio to use 250Mi
of memory and thus being low, instead of their
current high's of 4Gi and 2Gi respectively.

This also updates the CPU requirement of
ws-daemon to be 0.25 instead of the
current 0.5 vcpu which resulted in
insufficient CPU errors

After this change, I was able to open a couple
of workspaces on a 4vcpu and 11 GB ram docker daemon

Signed-off-by: Tarun Pothulapati [email protected]

Related Issue(s)

Fixes #

How to test

Run

docker run -p 443:443 --privileged --name gitpod --rm -it  --mount type=volume,source=gitpod,destination=/var/gitpod eu.gcr.io/gitpod-core-dev/build/local-preview:tar-lp-low-memory.6

Release Notes

[local-preview] set low memory & cpu requirements

Documentation

Werft options:

  • /werft with-preview

Updates `ws-daemon` and `minio` to use `250Mi`
of memory and thus being low, instead of their
current high's of 4Gi and 2Gi respectively.

Signed-off-by: Tarun Pothulapati <[email protected]>
@Pothulapati Pothulapati requested a review from a team September 5, 2022 16:59
@github-actions github-actions bot added the team: delivery Issue belongs to the self-hosted team label Sep 5, 2022
@roboquat roboquat merged commit 774a5e2 into main Sep 6, 2022
@roboquat roboquat deleted the tar/lp-low-memory branch September 6, 2022 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note size/XS team: delivery Issue belongs to the self-hosted team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants