-
Notifications
You must be signed in to change notification settings - Fork 73
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
ClientPayloadError occasionally thrown when iterating a watch #156
Comments
Is it self-hosted cluster or provided by Google/AWS/Azure? Could you check if |
this is on a self-hosted microk8s cluster. are you suggesting i try running the same watch with with thanks |
There is a flag
|
righto, i'll take a look. regardless, should the |
How long is it working without raising the exception? I'm also not sure what to do... we can treat it as "timeout" and silently reconnect but on the other hand such behavior may hide some errors in other case. |
i haven't tested exhaustively, but it doesn't look like kubectl lasts longer.
it works for quite some time. i think this might typically result in about 4 pod restarts in 24 hours.
yeah. ideally we can clear tell between exceptions we expect, and those we don't. something like:
with thanks |
We are seeing this issue in an Azure kubernetes 1.22 cluster. Whenever we watch anything and there is no activity for the 5 minute default kubernetes timeout (even if prior events have been received), we see this error. I am not familiar (enough) with the underpinnings of how kubernetes does watch calls, but I could run a |
i do get a ClientPayloadError from time to time:
cheers
The text was updated successfully, but these errors were encountered: