-
Notifications
You must be signed in to change notification settings - Fork 3k
Closed
Labels
Description
Component(s)
No response
Is your feature request related to a problem? Please describe.
The watch
capability of the K8s API will return an http status code of 410 and a status object if the resourceVersion supplied to the API is too old. At the moment the receiver handles these situations by logging that they occurred and then stopping the watch for the object in question.
This situation is most likely to occur if a user passes in a resource_version
itself, but could occur during normal option as well (although that would be strange).
Describe the solution you'd like
Instead of giving up, the receiver could do a new List
to get a new resourceVersion
. See https://kubernetes.io/docs/reference/using-api/api-concepts/#410-gone-responses for details.