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

kubernetes: gtfs-rt-archive: lower memory limit and add cpu request #1540

Merged
merged 1 commit into from
May 27, 2022

Conversation

lottspot
Copy link
Contributor

The memory limit of 2 GB is well above normal operating range, and in
fact tends to indicate that there is already a problem well underway. A
review of grafana data suggests that normal operation should remain
under the 512 MB mark.

The lack of CPU requests also means that both the preprod and the prod
archiver instances may end up scheduled on the same node, which in the
event of a utilization spike over 4 cores, could cause transaction
failures. This CPU request reflects more than half of the capacity of
any given node in the gtfsrt-v1 pool, reasonably ensuring that preprod
and prod instances will not be co-scheduled on a node.

The memory limit of 2 GB is well above normal operating range, and in
fact tends to indicate that there is already a problem well underway. A
review of grafana data suggests that normal operation should remain
under the 512 MB mark.

The lack of CPU requests also means that both the preprod and the prod
archiver instances may end up scheduled on the same node, which in the
event of a utilization spike over 4 cores, could cause transaction
failures. This CPU request reflects more than half of the capacity of
any given node in the gtfsrt-v1 pool, reasonably ensuring that preprod
and prod instances will not be co-scheduled on a node.
@lottspot lottspot requested a review from lauriemerrell May 27, 2022 17:08
@lottspot lottspot requested a review from themightychris as a code owner May 27, 2022 17:08
@blakeflei blakeflei self-requested a review May 27, 2022 17:39
Copy link

@blakeflei blakeflei left a comment

Choose a reason for hiding this comment

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

LGTM

@lottspot lottspot merged commit 66b2532 into main May 27, 2022
@lottspot lottspot deleted the fix-archiver-rsrc-mgmt branch May 27, 2022 17:40
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.

2 participants