(aws-eks): managed nodegroup for spot instances
See original GitHub issueAmazon EKS now supports provisioning and managing EC2 Spot Instances in managed node groups https://aws.amazon.com/tw/blogs/containers/amazon-eks-now-supports-provisioning-and-managing-ec2-spot-instances-in-managed-node-groups/
eksctl
just introduced the new --spot
flag which seems to create a new launch template with spot options and pass this template to create the spot-only nodegroup.
I was wondering how to create similar experience with aws-eks
. The Nodegroup L2 construct actually can accept the launch template as the construct property, however, users need to bake their own LT with spot options before they can pass it to NodegroupProps
. It doesn’t make sense to add a new spot
property for NodegroupProps
as this is actually a high level abstraction, but making people easily create spot nodegroup with CDK is really helpful.
Some options:
- create
aws-eks-patterns
L3 and makeSpotNodegroup
a L3 construct - let’s create a 3rd party construct lib like
cdk-eks-spot-nodegroup
I’d vote option 1.
@iliapolo wdyt?
ref: https://docs.aws.amazon.com/eks/latest/userguide/managed-node-groups.html
- 👋 I may be able to implement this feature request
- ⚠️ This feature might incur a breaking change
This is a 🚀 Feature Request
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:7 (5 by maintainers)
Top GitHub Comments
@iliapolo Yes. That will be easier. Please leave this PR for me. I’ll do it in the next few days.
⚠️COMMENT VISIBILITY WARNING⚠️
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.