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

[Provisioning] Dynamically fetch instance types for packing #286

Closed
bwagner5 opened this issue Mar 13, 2021 · 0 comments
Closed

[Provisioning] Dynamically fetch instance types for packing #286

bwagner5 opened this issue Mar 13, 2021 · 0 comments
Assignees

Comments

@bwagner5
Copy link
Contributor

The provisioner needs to dynamically fetch possible ec2 instance types to pack pods on.

The current implementation is hardcodes the instance types and corresponding resource specs: https://github.com/awslabs/karpenter/blob/35b6517c8ffed6c81cbe9b2405e047462122dc79/pkg/cloudprovider/aws/packing/nodecapacity.go#L25-L75

Plan:

For now, I think it's sufficient to fetch instance types using ec2.DescribeInstanceTypes and populate nodeCapacity structs. Filtering based on pod specs will need to be implemented later.

@bwagner5 bwagner5 self-assigned this Mar 13, 2021
gfcroft pushed a commit to gfcroft/karpenter-provider-aws that referenced this issue Nov 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant