Skip to content

Flag to disable caching on ApiServerSource adapter #8642

@rh-hemartin

Description

@rh-hemartin

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.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions