zhixiongdu027 commented on issue #8313: URL: https://github.com/apache/apisix/issues/8313#issuecomment-1313420971
> 自从14:52:30 进行watch 之后,直到15:32 重新list才能获取到最新数据,然后重新watch,中间没有收到events, > timeoutSeconds=2226 这个是apiserver的超时时间吧,大约37分钟,因为apiserver超时了,所以15:32 apisix 重新relist了, > 然后relist之后,重新watch,从日志上看 watch 没有成功,因为新的变更没有监听到 15:32:16 - 14:52:30 = 39m+14s = 2346s = 2226s+120s The timeout of discover relist is brought by httpc:set_timeouts(watch_seconds+120), not the normal apiserver disconnection. https://github.com/apache/apisix/blob/288708cbe0098fd3f62fadd725490804d5d0a3db/apisix/discovery/kubernetes/informer_factory.lua#L198-L206 This information also confirms that it is indeed the failure caused by the lvs timeout configuration -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
