The kube-state-metrics pod logs show warnings "The resourceVersion for the provided watch is too old.".
Issue
- The
kube-state-metrics
pod logs show warnings "The resourceVersion for the provided watch is too old."
# oc logs kube-state-metrics-XX -c kube-state-metrics -n openshift-monitoring
W0628 06:18:48.795115 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.PersistentVolumeClaim ended with: The resourceVersion for the provided watch is too old.
W0628 06:19:52.869593 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.ResourceQuota ended with: The resourceVersion for the provided watch is too old.
W0628 06:22:12.819270 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1beta1.ReplicaSet ended with: The resourceVersion for the provided watch is too old.
W0628 06:23:15.431140 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.Job ended with: The resourceVersion for the provided watch is too old.
W0628 06:23:40.340254 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1beta1.CronJob ended with: The resourceVersion for the provided watch is too old.
W0628 06:24:34.516136 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.PersistentVolume ended with: The resourceVersion for the provided watch is too old.
W0628 06:27:35.443743 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.HorizontalPodAutoscaler ended with: The resourceVersion for the provided watch is too old.
W0628 06:28:28.626148 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.Secret ended with: The resourceVersion for the provided watch is too old.
W0628 06:29:14.492404 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1.LimitRange ended with: The resourceVersion for the provided watch is too old.
W0628 06:29:20.813655 1 reflector.go:341] k8s.io/kube-state-metrics/collectors/collectors.go:62: watch of *v1beta1.StatefulSet ended with: The resourceVersion for the provided watch is too old.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.