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

Handling of 'Spot Instance interruptions' #1184

Closed
andy-miszcz opened this issue Jan 19, 2022 · 3 comments
Closed

Handling of 'Spot Instance interruptions' #1184

andy-miszcz opened this issue Jan 19, 2022 · 3 comments

Comments

@andy-miszcz
Copy link

What karpenter features are relevant?
spot Instance interruption

How should the docs be improved?
If it's true that karpenter is taking care of ec2 notifications (including Spot Instance interruptions) will be super to read about it in the official documentation. I'm not sure if there is such feature but because of this info I decided to ask.

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
@prateekgogia
Copy link
Contributor

prateekgogia commented Jan 19, 2022

Hi @Miszcz-AndY

At the moment Karpenter doesn't handle ec2 notifications, the way it works today is - If a node is terminated in EC2, Kubernetes will try to reschedule the pods to a different node if there is capacity. Otherwise, these pods will go pending and Karpenter will see these pending pods and launch the required capacity in EC2.

Also, the aws-node-termination-handler can be used to consume EC2 Health Events and facilitate the cordon+drain. We are looking into building some set of NTH functionality into Karpenter, so it's possible Karpenter will consume EC2 Health Events natively at some point, but not today.

The youtube link you have provided is more of a set of features we plan to add to Karpenter to help scale and manage nodes in the cluster.

Also, we have a Karpenter slack channel for discussions, feel free to join, ask more questions/provide feedback.

@ellistarn
Copy link
Contributor

ellistarn commented Jan 19, 2022

FYI, this is a duplicate of #702

@jhecking
Copy link

In this Using Amazon EC2 Spot Instances with Karpenter blog post it is mentioned that "Karpenter does not handle Spot Instance interruption natively, although this feature is in the roadmap." (Emphasis mine.) Is this roadmap public somewhere? If so, I couldn't find it.

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

4 participants