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

Brupop-agent has high throttled cpu #726

Open
Matthieulvt opened this issue Feb 21, 2025 · 0 comments
Open

Brupop-agent has high throttled cpu #726

Matthieulvt opened this issue Feb 21, 2025 · 0 comments

Comments

@Matthieulvt
Copy link

Hi !

We are trying to monitor better what happens on our kubernetes Cluster. We are using brupop-update-operator 1.4.0 and we notice despite setting up higher cpu & memory requests, the brupop-agent is getting quite high CPU throttled.

Here's some metrics about our sizing in requests (for brupop-agent):

Image

Which seems nicely adapted, but when we are looking to the container.cpu_throttled metrics, our cluster have a constant 100ms throttled for brupop-agent :

Image

We are using the following parameters when deploying the chart regarding resources :

    exclude_from_lb_wait_time_in_sec: "3O"
    scheduler_cron_expression: "${var.brupop_scheduler_cron_expression}"
    resources:
      agent:
        resources:
          limits:
            cpu: 10m
            memory: 50Mi
          requests:
            cpu: 5m
            memory: 20Mi
      apiserver:
        resources:
          limits:
            memory: 256Mi
          requests:
            cpu: 10m
            memory: 40Mi
      controller:
        resources:
          limits:
            memory: 256Mi
          requests:
            cpu: 50m
            memory: 60Mi

We already bumped the resources from what's recommanded in the README.md :

The bottlerocket-update-operator.yaml manifest makes several default recommendations for
Kubernetes resource requests and limits. In general, the update operator and its components are lite-weight
and shouldn't consume more than 10m CPU (which is roughly equivalent to 1/100th of a CPU core)
and 50Mi (which is roughly equivalent to 0.05 GB of memory).
If this limit is breached, the Kubernetes API will restart the faulting container.

In this scenario should I double the limits for brupop-agent to avoid constant throttle period, even if cpu usage seems ok ?

Issue or Feature Request: High CPU Throttled for brupop-agent / Adapt documentation regarding resources allocation

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

No branches or pull requests

1 participant