-
Notifications
You must be signed in to change notification settings - Fork 41
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
Make polling apiclient update check
frequency configurable
#456
Comments
apiclient update check
configurableapiclient update check
frequency configurable
I don't think it's correct maybe I'm wrong.
The bottlerocket-update-operator/agent/src/apiclient.rs Lines 144 to 148 in c2e9504
Base on that, that setting you think we should introduce might not be related to this part. If I understand correct, we probably can look at |
apiclient update check
frequency configurableapiclient update check
frequency configurable
Good call - yeah I wasn't sure if that was exactly where we have the logic for frequency of polling. But somewhere, we should have a setting that we can make it configurable for users who need much less polling than we currently provide. |
#524 reduces the default polling interval to 2 minutes, but I agree that we should make this configurable. |
Frequency of polled updates
Currently, polling for a new update seem to be every 10 seconds:
bottlerocket-update-operator/agent/src/apiclient.rs
Lines 123 to 128 in c2e9504
It would be great if there was an brupop setting that made polling for updates configurable
where the value is an expected length of seconds
Why?
Some users may not want egress traffic to the updates endpoint very frequently. Or maybe they want to poll for an update more frequently. This may be a network traffic restriction, the fact that nodes are deployed on edge (and polling for frequent updates are not ideal), etc.
The text was updated successfully, but these errors were encountered: