containers-roadmap
containers-roadmap copied to clipboard
[EKS] [request]: enable graceful node shutdown
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
Tell us about your request
EKS changelog (https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html) seems to indicate tha graceful node shutdown is enabled on EKS 1.21. However, unless I’m mistaken, this is not the case. Could you consider enabling it?
Which service(s) is this request for?
EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Without graceful node shutdown nor aws-node-termination-handler, an EKS cluster cannot take preventive actions in response to events which lead to instance shutdown (like ASG AZ rebalance, ASG instance refresh, spot instance preemption, etc). This can lead to service disruptions. Enabling graceful node shutdown would provide an out of the box solution.
Are you currently working around this issue?
No.
Additional context
ASG AZ rebalance can happen after a scale-down made by the cluster autoscaler.
One simple question: Can we have both NTH and Node Graceful shutdown on the same EKS Cluster? My answer is yes. Because of NTH can not handle the node reboot manually by user. Am I right?
Graceful node shutdown is a kubelet feature, not an EKS feature. It was released in 1.21.
https://kubernetes.io/blog/2021/04/21/graceful-node-shutdown-beta/