-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Update machine_types.go to support T3 family #5681
Conversation
/assign @KashifSaadat |
/ok-to-test |
Thanks @wanghanlin! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikesplain, wanghanlin The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I think it would be really amazing if there could be a cherry-pick for kops 1.10.0 / a kops 1.10.1 release - it seems like a small thing but I think a lot of people would be happy to get the t2 unlimited functionality as well as the money savings. |
KOPS should not hardcode any AWS instance types in the first place. |
You're right @mitpwd except that there isn't a convenient API for instance types. I think @mikesplain and @sethpollack are actually working on putting a file somewhere where all of kubernetes-on-aws components could consume it (i.e. creating an API for instance type attributes). |
Any eta on when this is being released? |
I've searched aws-sdk-go for new instance types and it looks like there's a file with API model: https://github.com/aws/aws-sdk-go/blob/master/models/apis/ec2/2016-11-15/api-2.json The file seems to be used to generate API with the generator included in the repo: And the file is updated frequently, so probably it's very up-to-date. When you use JSON path .shapes.InstanceType.enum you can extract all possible instance types :) I don't know how kops is up-to-date with dependency on aws-sdk-go but maybe it's a good point to start a discussion :) Best regards Łukasz Tomaszkiewicz |
close #5680
cpu baseline ref https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/t2-credits-baseline-concepts.html