kyverno: [BUG] "Failed to watch... the server could not find the requested resource" messages printed in logs

Software version numbers State the version numbers of applications involved in the bug.

  • Kubernetes version: v1.19.6-eks-49a6c0
  • Kyverno version: v1.3.6

Describe the bug

Kyverno logs continually print:

E0622 20:44:59.597355       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
E0622 20:45:45.436183       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
I0622 20:46:13.220800       1 report.go:41] PolicyController/forceReconciliation "msg"="performing the background scan"  "scan interval"="1h0m0s"
E0622 20:46:23.987602       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
E0622 20:47:13.765675       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
E0622 20:48:04.956069       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
E0622 20:48:49.228496       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.0/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource

Additional context

Seems similar to #1543 (which is fixed?), but the cause of the error seems different (the server could not find the requested resource vs unknown)

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 2
  • Comments: 19 (9 by maintainers)

Most upvoted comments

@nuno-silva - you can change the verbose level here