-
Notifications
You must be signed in to change notification settings - Fork 640
✨ Cache architecture for each instance type in memory to avoid unnecessary AWS API requests #5764
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
base: main
Are you sure you want to change the base?
✨ Cache architecture for each instance type in memory to avoid unnecessary AWS API requests #5764
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
7f0b7ad to
527b12e
Compare
|
/test pull-cluster-api-provider-aws-e2e |
1 similar comment
|
/test pull-cluster-api-provider-aws-e2e |
|
Probably unrelated, trying again /test pull-cluster-api-provider-aws-e2e |
527b12e to
58aca0e
Compare
|
Trying again after rebasing onto E2E test fixes /test pull-cluster-api-provider-aws-e2e |
|
/retest |
|
/lgtm |
|
LGTM label has been added. Git tree hash: 04536ca75432a3fe9700323d56f4daf07d8806f2
|
What type of PR is this?
/kind feature
What this PR does / why we need it:
With the MachinePool Machines feature gate turned on, we now see a lot more reconciliation queueing on large MCs due to reconciling a lot of
AWSMachineobjects. This PR was a low-hanging fruit: theDescribeInstanceTypesAWS request is 100% cacheable.This uses CAPI's caching helper and uses a very long caching duration as I don't expect the instance type to architecture mapping to change within AWS.
Confirmed working in our fork already (giantswarm#638).
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):n/a
Special notes for your reviewer:
Checklist:
Release note: