kubernetes 1.32: Informer with WatchClient fails to send events with Fakeclient #129408
Labels
kind/bug
Categorizes issue or PR as related to a bug.
needs-sig
Indicates an issue or PR lacks a `sig/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
What happened?
I tried to start an informer with WatchClient enabled in client go and i see this error
and the above error keeps coming every 10 seconds.
The informer factory is stuck at this line
xInformerFactory.WaitForCacheSync(ctx.Done())
What did you expect to happen?
Watclist feature to work and Events to propagate when a resource is created.
How can we reproduce it (as minimally and precisely as possible)?
go.mod file:
Error logs:
Anything else we need to know?
change the env var to false and you see things are working.
Logs:
Kubernetes version
Client Version: v1.32.0
Cloud provider
Local
OS version
MacOS
Darwin Kernel Version 23.6.0
Install tools
golang
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: