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

Add CPU_LIMIT and OAUTH_PROXY_CPU_LIMIT #68

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kahowell
Copy link

I set them to be the same as the requests, because gabi doesn't appear to be CPU-bound. I checked one cluster's usage via PromQL:

max_over_time(pod:container_cpu_usage:sum{pod=~"gabi.*"}[24h:5m])

and saw 0.02 as the highest number across the last couple of weeks of metrics, so I figure setting the same as the request seems a reasonable default.

I set them to be the same as the requests, because gabi doesn't appear
to be CPU-bound. I checked one cluster's usage via PromQL:

```promql
max_over_time(pod:container_cpu_usage:sum{pod=~"gabi.*"}[24h:5m])
```

and saw 0.02 as the highest number across the last couple of weeks of
metrics, so I figure setting the same as the request seems a reasonable
default.
@app-sre-bot
Copy link

Can one of the admins verify this patch?

@maorfr
Copy link

maorfr commented Jan 31, 2024

related to #65

@hemslo
Copy link
Contributor

hemslo commented Feb 2, 2024

covered by #69

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.

4 participants