-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ipam/aws: Remove UpdateEC2AdapterLimitViaAPI option and static mapping for aws enviroment and always fetch from EC2 API #36922
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
ipam/aws: Remove UpdateEC2AdapterLimitViaAPI option and static mapping for aws enviroment and always fetch from EC2 API #36922
Conversation
30f7bf6
to
6794066
Compare
cfaaa48
to
0ba9144
Compare
a7cd530
to
41f1318
Compare
Some notes:
|
/test |
1 similar comment
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
/test |
2 similar comments
/test |
/test |
/ci-eks |
/ci-awscni |
1 similar comment
/ci-awscni |
/ci-runtime |
@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
/test |
/ci-integration |
/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 <liyi.huang@isovalent.com>
Head branch was pushed to by a user without write access
4f825d9
to
8f4cabb
Compare
/test |
Fixes: #33654