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

High CPU usage in OPA containers #75

Closed
albqmasqeet opened this issue Jul 6, 2020 · 2 comments
Closed

High CPU usage in OPA containers #75

albqmasqeet opened this issue Jul 6, 2020 · 2 comments

Comments

@albqmasqeet
Copy link

Trying to use opa and kube-mgmt in a cluster to replicate nodes, deployments and statefulsets is causing high cpu (almost 2 cores) in OPA. When I disable replication of these objects CPU usage goes back to 1 millicore.

Number of cluster objects are as follows:
Nodes: 171
Deployments: 2021
StatefulSets: 171

When we hit high CPU, OPA is not responsive and returns failures for all updates from kube-mgmt. Is there a way to batch updates from kube-mgmt to OPA?

@patrick-east
Copy link
Contributor

Can you provide some details about what versions are being used? Please also provide logs of the errors you are seeing.

kube-mgmt does batch the requests for initial synchronization as of v0.10 (see #50) after that it is sending over objects as they change. Do you have a large amount of churn on the objects? Or is it the initial loading that is causing a problem?

@eshepelyuk
Copy link
Contributor

2 yrs passed without feedback. Hopefully all those issues are solved. If not - please create a new issues with all required steps to replicate.

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

3 participants