Skip to content

[loadbalancingexporter] provide timeout to k8s resolver #31757

Closed
@grzn

Description

@grzn

Component(s)

No response

Is your feature request related to a problem? Please describe.

With the default k8s client so sometimes get timeout errors like this

E0314 08:24:19.610919       1 reflector.go:147] k8s.io/[email protected]/tools/cache/reflector.go:229: Failed to watch *v1.Pod: failed to list *v1.Pod: Get "https://172.20.0.1:443/api/v1/pods?fieldSelector=spec.nodeName%3Dip-10-0-17-162.eu-north-1.compute.internal&resourceVersion=4141611754": dial tcp 172.20.0.1:443: i/o timeout

Describe the solution you'd like

it would be nice to configure the k8s client with a larger timeout.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions