-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
io.fabric8.kubernetes.client.informers.impl.cache.Reflector.ReflectorWatcher#reconnecting() { return true; #5327
Comments
This is against a pretty old version at this point. With later versions anything that you through the client to shutdown the okhttp dispatcher, should cause all asynch tasks to stop. |
Which version do I need to update to? |
Sorry I was not considering some of these tasks are being scheduled through our static scheduler, which makes them initially unaware that client has been shutdown. At least on master the you've shown here is attempted one more time, the exception logged at a debug level, and the task is never scheduled again. On the older version do you see repeated attempts at re-establishing the watch? Ideally we would surpress this debug message or proactively purge the tasks. There is a related problem - later releases added a client side timeout of informers. That task does appear like it will keep executing even after the client is closed. |
Partially addresses: fabric8io#5327
yes,I see repeated too many attempts at re-establishing the watch,but k8s api-server is opened rate limit , |
Partially addresses: fabric8io#5327
Also moving / tweaking the log of client closure Closes fabric8io#5327
Also moving / tweaking the log of client closure Closes fabric8io#5327
Also moving / tweaking the log of client closure Closes #5327
Describe the bug
io.fabric8.kubernetes.client.dsl.internal.AbstractWatchManager#cannotReconnect(), always returns false,this will cause the client to keep trying to establish a connection asynchronously
Fabric8 Kubernetes Client version
6.4.1
Steps to reproduce
k8s ApiServer rate limit
Expected behavior
Cancel asynchronous task
Runtime
Kubernetes (vanilla)
Kubernetes API Server version
other (please specify in additional context)
Environment
Linux
Fabric8 Kubernetes Client Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: