-
Notifications
You must be signed in to change notification settings - Fork 3.4k
operator: add flag to control AWS API pagination #39543
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
Conversation
/test |
Commit 56d426a does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
/test |
56d426a
to
f126d4b
Compare
Commit 56d426a does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
f126d4b
to
4ad90c6
Compare
/test |
Thank you for your reviews! I completely forgot to mention that we found a performance regression with |
This pull request has been automatically marked as stale because it |
67f8336
to
8b3e8c9
Compare
Alright, sorry for the delay, I had a long back-and-forth discussion with AWS regarding their API behaviour when pagination is used. After this discussion, I had to make a small change to the PR: I removed pagination from the |
/test |
Signed-off-by: Anton Ippolitov <anton.ippolitov@datadoghq.com>
8b3e8c9
to
f2eb8a8
Compare
/test |
Description
Small follow-up to #37983 and #39120
After we enabled pagination for the AWS EC2 API calls, it would actually be better to allow users to turn it off when needed. There are a couple of use-cases where it would help:
I did not add a setting for configuring the page size: it is set to 1000 by default which is the maximum allowed size. That’s already small enough for most scenarios, and I don’t expect anyone to want a smaller value. Otherwise, we could add an
int
parameter in a follow-up PR as well.