-
Notifications
You must be signed in to change notification settings - Fork 320
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
[EKS] [request]: Rolling update to change instance type for Managed Nodes #746
Comments
@badaldavda I believe the proposed method for any sort of nodegroup update is a new nodegroup and then a deletion of the old one. |
This will be possible with #585 |
In this case, the user would need to take the following steps
Now when I delete a group of nodes, it looks like all nodes start the termination process at the same time. |
While this will be possible #585, one thing to note is that if you switch to a smaller instance type, there is a chance you could disrupt running workloads if there are not sufficient resources available on the instances after the update. We will document this behavior, but something to keep in mind you if you choose to leverage this functionality. |
Closing as this feature request is addressed by launch template support. See #585 for details! |
@mikestef9 I think this issue is not resolved in case of spot managed node groups completely. As you said, we can perform rolling update to change a instance type of managed node groups when we pass instance type through the launch template. But in case of spot managed node groups, passing a instance type through the launch template is NOT recommended far as I understand.
We still cannot perform rolling update to change instances types of managed node groups which have multiple instance types. Could you reopen this issue? Or should I create another issue? |
This is still an issue and not possible in 2022, it's only working when updating AMI and |
Do we have any resolution on this? Does any of you have any workaround for EKS-managed node groups to handle this situation? |
Hey ArunSisodiya,
why should it be recreated if the main first type still persist or even if t must to recreate then why not with a new name (random suffix i have added) as it works when i do other changes , and life cycle is configured for create_before_destroy |
This allows setting the instance type on the launch template rather than the EKS Managed node group. This is useful because it is not possible to change the instance types set on a managed node groups after creation. The suggested way to work around this is to simply define the instance type in the launch template. aws/containers-roadmap#746 (comment)
This allows setting the instance type on the launch template rather than the EKS Managed node group. This is useful because it is not possible to change the instance types set on a managed node groups after creation. The suggested way to work around this is to simply define the instance type in the launch template. aws/containers-roadmap#746 (comment)
This allows setting the instance type on the launch template rather than the EKS Managed node group. This is useful because it is not possible to change the instance types set on a managed node groups after creation. The suggested way to work around this is to simply define the instance type in the launch template. aws/containers-roadmap#746 (comment)
This allows setting the instance type on the launch template rather than the EKS Managed node group. This is useful because it is not possible to change the instance types set on a managed node groups after creation. The suggested way to work around this is to simply define the instance type in the launch template. aws/containers-roadmap#746 (comment)
This allows setting the instance type on the launch template rather than the EKS Managed node group. This is useful because it is not possible to change the instance types set on a managed node groups after creation. The suggested way to work around this is to simply define the instance type in the launch template. aws/containers-roadmap#746 (comment)
Community Note
Tell us about your request
What do you want us to build?
Currently when we edit nodegroup/update nodegroup config we can only update scaling config -
https://docs.aws.amazon.com/cli/latest/reference/eks/update-nodegroup-config.html
Can we also change instance type for managed nodes and have a rolling update?
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?
Currently, to update a nodegroup we need to create a new nodegroup and then delete the older nodegroup. But in some cases modifying the same nodegroup with other instance type would be needed in the same way we change the nodegroup version to latest release version.
Are you currently working around this issue?
Currently, to update a nodegroup we need to create a new nodegroup and then delete the older nodegroup.
Additional context
NA
Attachments
NA
The text was updated successfully, but these errors were encountered: