-
Notifications
You must be signed in to change notification settings - Fork 170
Open
Labels
Description
https://github.com/abonas/kubeclient#starting-watch-version
In the documentation for the watch API, there's a great callout that clients need to handle 410 Gone errors. But from looking at the documentation, it's not clear how to detect this case. Can a little clarification please be added to the doc to explain how to properly introspect the notice to find the status code?
e.g. Should we expect to see notice['object']['status'] == 410 or something?
I ask this because there's currently a nasty problem in the fluentd "kubernetes metadata" plugin which is a client of this library, where this error is not being handled properly and I'm trying to help resolve the issue. (See: fluent-plugins-nursery/fluent-plugin-kubernetes_metadata_filter#226)
Reactions are currently unavailable