Skip to content
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

pre-Generate EC2 instance type details out of band #8206

Conversation

dims
Copy link
Contributor

@dims dims commented Feb 10, 2025

Use DescribeInstanceTypes API from a helper ec2geninfo command to pre-generate information we need instead of hardcoding similar to VPC CNI or Karpenter. This avoid making expensive calls at runtime to get the information needed.

There's also prior art here as well:

Once we land this, the follow up would be to write a GH action that runs ec2geninfo and files a PR automatically when there are changes. This takes toil way from maintainers.

@dims dims force-pushed the pre-generate-ec2-instance-type-details-out-of-band branch from 2658cdb to b776875 Compare February 10, 2025 17:45
@bryantbiggs bryantbiggs added kind/improvement area/tech-debt Leftover improvements in code, testing and building labels Feb 10, 2025
@dims dims force-pushed the pre-generate-ec2-instance-type-details-out-of-band branch 3 times, most recently from d07c28b to ecbc650 Compare February 10, 2025 22:09
@dims dims force-pushed the pre-generate-ec2-instance-type-details-out-of-band branch from ecbc650 to 23533b2 Compare February 10, 2025 22:31
@bryantbiggs bryantbiggs merged commit a8523c9 into eksctl-io:main Feb 10, 2025
9 checks passed
@cheeseandcereal cheeseandcereal removed the area/tech-debt Leftover improvements in code, testing and building label Feb 13, 2025
@dims
Copy link
Contributor Author

dims commented Feb 14, 2025

xref: #8000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants