-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[Help] Unable to upgrade a managed nodegroup #7976
Comments
I am also facing this issue. And I checked the CloudFormation, it mentioned the But I can do that (less than 20 GB) in my another account. They are both in the same region. The only difference I can think of is k8s cluster version. I can create node with 10 GB in The eksctl version I am using is |
Any update on this ? Im facing same issue, Resource handler returned message: "Requested release version 1.31.0-20241024 is not valid for kubernetes version 1.30. (Service: Eks, Status Code: 400, Request ID: 15e2fb73-4134-4763-94d4-6b1ffc6d04b3)" (RequestToken: 1565436d-5bbc-7be1-7081-7a0631cf5842, HandlerErrorCode: InvalidRequest) After I upgraded successfully control plane to 1.31, i cannot upgrade managed node group to 1.31. |
Are you sure your control plane is already updated? And I found the reason why I can not upgrade my managed nodegroup.
I am using two different AMI and OS. So AmazonLinux2 is able to reduce the disk size to 8 but AmazonLinux2023 can not. |
I also have the exact same problem when trying to upgrade the managed node group.
The control plane was already upgraded from version 1.30 to 1.31 successfully.
It shows the new version in the AWS console as well as via the command:
I also upgraded all the podidentityassociations successfully.
And the addons
At first I just tried to do the following to upgrade the node group and it finished without error but left the node group at version
But noticed it left things at version 1.30.
|
Got the same issue with upgrading node groups from
|
We had the same problem on some clusters and we noticed that the cloudformation generated for upgrading NodeGroup put wrong "Version" number in "AWS::EKS::Nodegroup". Here we've upgraded from 1.30 to 1.31, but version is still 1.30 in CFN. We had the message "Requested release version 1.31.4-20250123 is not valid for kubernetes version 1.30. " .
As a workaround, we manually change the cloudformation to replace version 1.30 with 1.31 and update the CFN stack to make it work. I haven't yet managed to find out where this version was recovered. I hope this will help unblock those who are in this situation. |
It works properly if you create and upgrade your cluster from config file:
And doesn't work If you create cluster from config file but upgrade using |
+1 on running into this problem now.
eksctl upgrade cluster -f eks.yaml --approve
eksctl upgrade nodegroup --name=ng-1-workers --cluster=eks--kubernetes-version=1.32
I can also confirm that manually changing the version in the cloudformation template got me past this issue. |
Hello!
I can’t upgrade a managed nodegroup using eksctl
Following document was used for the procedure:
https://docs.aws.amazon.com/eks/latest/userguide/update-managed-node-group.html#mng-update
Steps to reproduce:
Create a cluster using following manifest
It gets created successfully
Next I upgrade a control plane's kubernetes version using following command:
eksctl upgrade cluster --name yby-test --region eu-central-1 --approve
Everything works fine:
And then I try to upgrade nodegroup to the target version using:
eksctl upgrade nodegroup --cluster yby-test --region eu-central-1 --name mng-medium --kubernetes-version=1.29
Here is the log:
If I check Cloudformation console I see a following event:
If I try to upgrade a node pool using AWS web console everything works fine, but without any changes in Cloudformation logs. Therefore I suppose it doesn't use Cloudformation.
What help do you need?
Please point me if I misunderstood the documentation or if it's a bug.
Maybe there are other actions which nave to be done.
Tell me if I should provide more information or tests.
Thanks in advance.
--
Eugene Bykov
The text was updated successfully, but these errors were encountered: