eventing icon indicating copy to clipboard operation
eventing copied to clipboard

Flag to disable caching on ApiServerSource adapter

Open rh-hemartin opened this issue 5 months ago • 1 comments

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.

Persona:

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.

rh-hemartin avatar Jul 18 '25 14:07 rh-hemartin

/triage accepted

Cali0707 avatar Jul 21 '25 15:07 Cali0707