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

Super high CPU usage with many resources #34

Closed
patst opened this issue Jun 26, 2023 · 0 comments · Fixed by #35
Closed

Super high CPU usage with many resources #34

patst opened this issue Jun 26, 2023 · 0 comments · Fixed by #35

Comments

@patst
Copy link
Contributor

patst commented Jun 26, 2023

We use the provider to create Dashboards, Folders, etc.

What we observe is an incredible high amount of CPU usage.
We have around 100 - 400 different resources per cluster and the uses the cpu of a complete 8vCPU core node in our cluster the whole time. Changes to a single dashboard can take a long time until reconciled.

It feels connected to this: crossplane/upjet#116

We tried to configure the provider with --sync=24h but that did not change anything.

I would think it is related to the PollIntervall setting (

PollInterval: 1 * time.Minute,
).

The AWS provider allows a configuration of the interval (see https://github.com/upbound/provider-aws/pull/140/files ).

I would propose we make the interval configurable for this provider as well and try to provide a patch for that.

patst added a commit to patst/crossplane-provider-grafana that referenced this issue Jun 26, 2023
julienduchesne pushed a commit that referenced this issue Jun 26, 2023
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 a pull request may close this issue.

1 participant