kubernetes - 来自事件导出器容器的所有 "The resourceVersion for the provided watch is too old"警告是什么?

标签 kubernetes google-kubernetes-engine

我们在来自事件导出器容器的 GCP kubernetes 集群事件日志中收到了很多警告。

event-exporter  Jun 4, 2018, 10:45:15 AM    W0604 14:45:15.416504 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
event-exporter  Jun 4, 2018, 10:37:04 AM    W0604 14:37:04.331239 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
event-exporter  Jun 4, 2018, 10:28:37 AM    W0604 14:28:37.249901 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
event-exporter  Jun 4, 2018, 10:21:38 AM    W0604 14:21:38.141687 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
event-exporter  Jun 4, 2018, 10:15:38 AM    W0604 14:15:38.087389 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.
event-exporter  Jun 4, 2018, 10:04:35 AM    W0604 14:04:35.981083 1 reflector.go:323] github.com/GoogleCloudPlatform/k8s-stackdriver/event-exporter/watchers/watcher.go:55: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.

任何人都知道为什么会出现这些警告,我该如何解决?
谢谢。

最佳答案

这意味着在客户端 api 上次获取该监视窗口内的列表之后,有更新版本的监视资源。

客户端需要重新上架获取最新版本。当使用客户端 api 时,这是一种比较常见的情况,因为日志记录被深埋在其中。

关于kubernetes - 来自事件导出器容器的所有 "The resourceVersion for the provided watch is too old"警告是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50683629/

相关文章:

kubernetes - kubernetes中如何将多个节点合并为一个大节点

Kubernetes PVC 数据持久化

google-cloud-platform - 在我的 GCP 项目中创建虚拟机实例时,如何接收自定义电子邮件通知

google-kubernetes-engine - istio 重试失败或者我不明白?

list - 如何在没有工作的情况下获得所有 Pod

kubernetes - 如何在 kubernetes 部署中重新启动失败的 pod

kubernetes - Kubernetes API身份验证

kubernetes - 如何解决错误 : epmd error for host nxdomain (non-existing domain)?

kubernetes - statefulset 的就绪探测,而不是单个 pod/容器

load-balancing - GKE中GLBC L7的默认负载平衡算法是什么?