-
Notifications
You must be signed in to change notification settings - Fork 963
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
Comments
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. |
FYI, this is a duplicate of #702 |
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. |
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
The text was updated successfully, but these errors were encountered: