-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
*: add experimental flag for watch notify interval #12216
*: add experimental flag for watch notify interval #12216
Conversation
LGTM - thanks! [FTR: we were doing both some scale and correctness tests of prototype based on https://github.com//pull/11463 (which this one seem to be just rebase of) and that all worked fine.] |
@jingyih Can we enforce a minimum duration value for this field to prevent misuse? This seems useful for testing. What's the other use case and what's the value that Kubernetes wants to use? Also, please update the changelog. |
We were scale testing it in 5k-node tests. 250ms worked perfectly fine, 100ms was signifcantly visible in metrics, though it still kind-of worked. |
f3d5ead
to
9a69847
Compare
Thanks @gyuho!
I added 100ms minimum duration.
Please refer to @wojtek-t 's previous comment. Also as mentioned in the PR description, this is useful to https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1904-efficient-watch-resumption
Done. |
Cool - great to see that merged! |
Make watch progress notify configurable via flag
--experimental-watch-progress-notify-interval
. It is useful in cases such as https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1904-efficient-watch-resumption