ipam/aws: Remove UpdateEC2AdapterLimitViaAPI option and static mapping for aws enviroment and always fetch from EC2 API#36922
Merged
gandro merged 1 commit intocilium:mainfrom Mar 12, 2025
Conversation
30f7bf6 to
6794066
Compare
cfaaa48 to
0ba9144
Compare
a7cd530 to
41f1318
Compare
Contributor
Author
|
Some notes:
|
Contributor
Author
|
/test |
1 similar comment
Contributor
Author
|
/test |
christarazi
reviewed
Jan 14, 2025
gandro
requested changes
Jan 14, 2025
Member
gandro
left a comment
There was a problem hiding this comment.
Thanks! I'm fine with the overall approach, but two things that I believe need to be addressed:
- Be a bit smarter about how often we fetch the limits (in particular if we are not successful)
- Updating the docs since this is a breaking change
41f1318 to
040d836
Compare
47b9cae to
3e17c3c
Compare
Contributor
Author
|
/test |
2 similar comments
Contributor
Author
|
/test |
Contributor
Author
|
/test |
Contributor
Author
|
/ci-eks |
Contributor
Author
|
/ci-awscni |
1 similar comment
Contributor
Author
|
/ci-awscni |
Contributor
Author
|
/ci-runtime |
Contributor
Author
|
@gandro let me know if there is anything that I need to update. I also moved the log to slog since I see a lot of modules are moving to it. Hopefully I can merge without another rebase. |
3e17c3c to
4f825d9
Compare
Contributor
Author
|
/test |
Contributor
Author
|
/ci-integration |
gandro
approved these changes
Mar 11, 2025
Contributor
Author
|
/ci-e2e-upgrade |
- Reimplement the limits package using a proper struct instead of global vars to prevent race conditions - Only fetch instance limits dynamically through EC2 API instead of static mapping or user config - Move the limits init to the instance manager from aws allocator - Remove deprecated CLI flags and config options: - aws-instance-limit-mapping - update-ec2dapter-limit-via-api - Update documentation for ENI and upgrade pages - Update aws mock API and unit tests Signed-off-by: Liyi Huang <[email protected]>
auto-merge was automatically disabled
March 11, 2025 18:04
Head branch was pushed to by a user without write access
4f825d9 to
8f4cabb
Compare
Contributor
Author
|
/test |
8 tasks
This was referenced Mar 25, 2025
[1.17] AWS ENI IPAM: Move UpdateEC2AdapterLimitViaAPI logic to prevent performance regression
#38532
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #33654