-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat: Add support for spot instances node groups. #1161
Conversation
Could you also update the example here with the new This will be easier for future references |
On second thought, that's exactly what it looks like this PR does ✅ |
@brannondorsey I'm updating the documentation to make it obvious. |
Thanks for that docs change 😸 We're currently using this module and have had to make our managed spot instance node groups out of band without Terraform. I appreciate this small PR which will make our lives much easier. 🙏 |
Any idea when this might land in a new release? We're looking to use this functionality this week and are contemplating if we should just vendor this branch into our code base or wait for a new release of the module with these changes included. |
What's the process to get a PR reviewed here? |
Looks like @barryib has write access. Pinging him for you. |
Maybe if I try @dpiddockcmp also |
Hi @max-rocket-internet! Would it be possible to get a review for this PR pretty please? |
When will this PR get merged? |
This is my first PR... I have no experience on how long it usually takes to get a review. |
@psoares, have you please tested your fix that it works? |
…late_id"] in node_groups.tf.
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.
Tested it 👍
Thank you 😉 |
Yes we need one of the maintainers to approve the PR |
also interested in this, any estimations? |
How will this work with a launch template and wanting to pick multiple instance types? Do I create a launch template per instance type and then a node group per launch template? Basically, I have a launch template, and I want a spot instance node group of "any of these instance types" (which it looks like your example supports, if you don't specify a launch template). Maybe that's a separate thing? I can leave the instance type off the launch template, but then the node group module ignores the instance type I specify on the group itself. Should that be the case? Edit: Looking at the AWS help when creating a new node group I see |
feat: Add support for spot instances node groups.
I've been scratching my head on this one for a few days. I even opened #1192. I'll let you know if I find a way. So far I've been able to do a launch template, but not override it's parameters with a launch configuration to handle multiple instance types... |
feat: Add support for spot instances node groups. terraform-aws-modules#1161
Closing since the feature was implemented and merged through #1129. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
PR o'clock
Description
Please explain the changes you made here and link to any relevant issues.
This is to implement feature request #1107.
It allows creating nodegroups with spot instances, as described in https://aws.amazon.com/about-aws/whats-new/2020/12/amazon-eks-support-ec2-spot-instances-managed-node-groups/
example usage:
Checklist