Describe the bug
It looks like pkg/kube/site/resources.Apply (used in site reconcile) spends a lot of time doing superfluous stuff - querying the discovery API likely.
I believe it probably comes down to this line here where we are creating a fresh cache for each invocation of this deferred discovery gizmo.
It is my understanding that this is where all of these "Throttling" log lines are coming from: getting rate limited on our discovery api usage - querying apis we have no business with Throttling request took 5.399145702s, request: GET:https://172.30.0.1:443/apis/topolvm.io/v1?timeout=32s
Describe the bug It looks like
pkg/kube/site/resources.Apply
(used in site reconcile) spends a lot of time doing superfluous stuff - querying the discovery API likely.I believe it probably comes down to this line here where we are creating a fresh cache for each invocation of this deferred discovery gizmo.
It is my understanding that this is where all of these "Throttling" log lines are coming from: getting rate limited on our discovery api usage - querying apis we have no business with
Throttling request took 5.399145702s, request: GET:https://172.30.0.1:443/apis/topolvm.io/v1?timeout=32s