Skip to content
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

Store and send resourceVersion in watch_list/watcher #70

Closed
oyvindio opened this issue Oct 18, 2019 · 1 comment · Fixed by #124
Closed

Store and send resourceVersion in watch_list/watcher #70

oyvindio opened this issue Oct 18, 2019 · 1 comment · Fixed by #124
Labels
enhancement New functionality.

Comments

@oyvindio
Copy link
Member

The watch loop in Watcher should send the newest resourceVersion it has seen when restarting the watch connection to reduce pressure on the apiserver. See https://kubernetes.io/docs/reference/using-api/api-concepts/#efficient-detection-of-changes for suggested behavior.

This mechanism should probably be extended to support the watch bookmark feature (https://kubernetes.io/docs/reference/using-api/api-concepts/#watch-bookmarks) if available (since Kubernetes 1.16).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants