Open kpouget opened 1 year ago
Agree, we need to remove unused controllers in MCAD, here is a PR that we can revive: https://github.com/project-codeflare/multi-cluster-app-dispatcher/pull/277
@astefanutti MCAD from the main branch has some remediations around this problem, can you recommend what more could be improved?
@asm582 these messages seem to be caused by an excessive usage of the discovery API, which are being client-side throttle, despite the QPS and maximum burst limits have already been increased.
We could speculatively close this, given the large refactoring that has happened lately, but a quick search in the code points to the genericresource.go
file, that calls the discovery API for mapping the generic resources GVK to the API resource.
My suggestion would be to look at it more closely, and consider putting some caching or rate limiting mechanisms in place, for consuming the discovery API.
When looking at the MCAD logs, I see that it is constantly being throttled, and it seems to be requesting all the CRDs available in the cluster:
this cannot be a good thing for performance.