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

Why setting minWatchTimeout to only 5min #1341

Open
liuyuan10 opened this issue Mar 30, 2024 · 0 comments
Open

Why setting minWatchTimeout to only 5min #1341

liuyuan10 opened this issue Mar 30, 2024 · 0 comments

Comments

@liuyuan10
Copy link

liuyuan10 commented Mar 30, 2024

client-go sets minWatchTimeout to only 5min by default. Every watch will be terminated and reinitiated every 7.5min on average. This can translate to large WATCH QPS to API server on a large scale cluster with per node watch. For example, in a 10k cluster, it's constant 22 QPS even there is no event at all.

It's configurable through list options but I wonder is there downside to set it large?

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

No branches or pull requests

1 participant