eventing
eventing copied to clipboard
Flag to disable caching on ApiServerSource adapter
Problem We do have an ApiServerSource tracking 5 resources across 1000+ namespaces which results into a lot of:
I0718 14:02:19.224595 1 request.go:697] Waited for 17m12.738947279s due to client-side throttling, not priority and fairness, request: GET:https://172.30.0.1:443/apis/tekton.dev/v1/namespaces/.../taskruns?limit=500&resourceVersion=0
due to the number of requests (5 resources * 1000+ namespaces = ~5000).
We would like to have a flag in the ApiServerSource propagated to the Adapter Deployment so it does not cache.
System Operator: wants to reduce load in Kubernetes.
Exit Criteria
There are no caching calls from the adapter container.
Time Estimate (optional):
I would say that pure code would be ~24 hours of good quality coding time.
Additional context (optional) I need to develop a reproducer.
/triage accepted