From 4691935a3e87dd3a9694d36df885cc224f73545f Mon Sep 17 00:00:00 2001 From: Lukasz Szaszkiewicz Date: Thu, 4 Dec 2025 16:14:19 +0100 Subject: [PATCH] downgrade reflector watchlist fallback log to V(4) --- staging/src/k8s.io/client-go/tools/cache/reflector.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/staging/src/k8s.io/client-go/tools/cache/reflector.go b/staging/src/k8s.io/client-go/tools/cache/reflector.go index 6fd43375f60..c8e0d872080 100644 --- a/staging/src/k8s.io/client-go/tools/cache/reflector.go +++ b/staging/src/k8s.io/client-go/tools/cache/reflector.go @@ -419,7 +419,10 @@ func (r *Reflector) ListAndWatchWithContext(ctx context.Context) error { return nil } if err != nil { - logger.Error(err, "The watchlist request ended with an error, falling back to the standard LIST/WATCH semantics because making progress is better than deadlocking") + logger.V(4).Info( + "Data couldn't be fetched in watchlist mode. Falling back to regular list. This is expected if watchlist is not supported or disabled in kube-apiserver.", + "err", err, + ) fallbackToList = true // ensure that we won't accidentally pass some garbage down the watch. w = nil