gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-04 01:13:53 25 4
gpt4 key购买 nike

我们在来自事件导出器容器的 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com