github_exporter icon indicating copy to clipboard operation
github_exporter copied to clipboard

Deployed as a K8s helm chart, pod is being throttled with no apparent reason

Open luciano-buono opened this issue 5 months ago • 1 comments

Hi, I have deployed the app using the Helm chart: https://github.com/promhippie/charts/tree/master/stable/github-exporter and set the following resources block:

      resources:
        limits:
          cpu: 300m
          memory: 250Mi
        requests:
          cpu: 50m
          memory: 50Mi

Checking the CPU usage with ice:

➜ k ice cpu
PODNAME                                                 CONTAINER                           USED  REQUEST  LIMIT  %REQ  %LIMIT
prometheus-promhippie-github-exporter-7fdd9fbd9c-2sqkb  github-exporter                     9m    50m      300m   17.03 2.84

I see that the reported usage is very low, however I'm facing throttling issues

Image

Image

I suspect this may be related to the container trying to burst for very small time, not enough for the metrics to catch it

Image

luciano-buono avatar Jun 05 '25 18:06 luciano-buono

CPU throttling is always a difficult part. I'm open to improvements, I have not set CPU limits where I run into this issue.

tboerger avatar Jun 17 '25 13:06 tboerger