[EKS] [request]: Rolling update for managed nodes when updating instance types in combination with spot instances
- Dominant language
- Shell
- Stars
- 5.4k
- Forks
- 334
- PR merge metrics
- No merged PRs in 30d
Description
### Community Note
* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) 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**
What do you want us to build?
When you have created a node group have the ability to go to eks=>clusters=>your.cluster=>node.group=>edit and change instance types.
So it is possible to have a rolling update for managed nodes using spot configuration when changing instance types.
**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?**
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.
I want to be able to change the instance types of a managed node group in combination with spot.
At the moment it is possible to either define 1 instance type via a LT or multiple via node groups.
Tho when you have created the node group there is no option to change the instance types other then changing the ASG created when creating the node groups.
this in turn gives issues when using terraform for example.
**Are you currently working around this issue?**
For now the only option is to create a new node group migrate workload and delete the old node group.
**Additional context**
I came across this issue when testing managed node in combination with terraform. I think the solution provided in this request will allow tools like terraform to allow a rolling updates while also serving users without.
This issue was also partial fixed and discussed in #746 tho it only solved the issue if you use 1 instance type and define it via the LT option
**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)
Contributor guide
Research direction
Start by reading the request and the referenced issue #746, then clarify how managed node groups, spot configuration, and instance-type changes are expected to interact. The issue is done when users can change instance types for an existing managed node group with spot configuration and perform a rolling update without creating a replacement group.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, kubernetes, terraform
- Domain
- cloud, devops, infrastructure
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100