question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(aws-eks): managed nodegroup for spot instances

See original GitHub issue

Amazon 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:

  1. create aws-eks-patterns L3 and make SpotNodegroup a L3 construct
  2. 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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
pahudcommented, Dec 2, 2020

@iliapolo Yes. That will be easier. Please leave this PR for me. I’ll do it in the next few days.

0reactions
github-actions[bot]commented, Dec 22, 2020

⚠️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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Amazon EKS now supports provisioning and managing ...
Starting today, customers can use Spot Instances in EKS managed node groups. This enables you to take advantage of the steep savings that...
Read more >
Add Spot managed node group - Amazon EKS Workshop
We will be creating a Spot managed node group to utilize Spot Instances. Managed node groups automatically create a label - eks.amazonaws.com/capacityType -...
Read more >
Create EKS managed node groups with Spot capacity
Node groups configurations are set under the managedNodeGroups section, this indicates that the node groups are managed by EKS. · First node group...
Read more >
Spot instances - eksctl
EKS Managed Nodegroup will configure and launch an EC2 Autoscaling group of Spot Instances following Spot best practices and draining Spot worker nodes ......
Read more >
[EKS] [request]: Spot instances for managed node groups #583
When you create a managed node group, simply set capacity type as SPOT and the select one or more EC2 instance types that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found