-
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
[Bug] Update Bottlerocket nodes to latest AMI 1.29 #7627
Comments
Any updates on this? |
Hey @BogdanRS could you please share the cluster config you are using? |
If this helps, sure, but i don't see why is this relevant, I am not using the cluster config to upgrade my clusters.
|
Indeed it seems that upgrading Bottlerocket nodes doesn't work currently. I'm able to reproduce the issue and it's not only happening to a specific configuration. To reproduce this issue:
The support to upgrade Bottlerocket nodes seems to be added recently via #6766, but it is still unclear to me how Bottlerocket upgrades are different from AL2 nodes. |
Upgrade fails because the changeset only contains the following changes
and as I removed the changes in #6923, the changeset fails again, although this time it includes #4423 seems relevant here. From #4666, it seems the idea was (when we)
and eksctl/pkg/actions/nodegroup/upgrade.go Lines 266 to 277 in 76902cd
and as a result, |
I compared the new CFN template in the changeset against the old CFN template -- there is no change except the
|
Thank you, @yuxiang-zhang, so as i understand there should also be some changes to be made on the bottlerocket side, right? Is it possible for you guys to talk with them about this? |
@BogdanRS Opened a PR, I tested it myself and it works for me. Would you mind doing a review and test if the fix works for you? |
Is it ok if you make a patch release with this one? We have a bit of an automated process that only uses eksctl binary from releases. |
Sure, you can expect a release this week! |
@yuxiang-zhang it doesn't seem to work for me, i have the latest version of eksctl 0.175 and when I upgrade my nodegroups, they still get reverted to eks 1.27... This is what I can see in the Cloudformation Stack of one of the managed nodegroups(after upgrade):
|
is your cluster on 1.29? how did you upgrade your cluster? |
yes, my cluster is on 1.29. Using eksctl upgrade cluster(never had any issues on control plane upgrade, only with nodes) |
I couldn't reproduce what you have. I created a 1.27 cluster, upgraded to 1.29, and then upgraded the nodegroup from 1.27 to 1.29.
This is the command I used:
|
Well, i see it is the same command, the one that i used in the initial post, but for some reason for me it doesn't work and still has the same behavior. Maybe its the fact that the last version that the nodegroups have been created/upgraded with a version of eksctl that didn't contained your changes(the ones in 0.175)? For example, i have this version on the nodegroups of the clusters that haven't been upgraded yet, alpha.eksctl.io/eksctl-version - 0.151.0(CF stack). You could also try, for a test, to create some cluster with that version of eksctl, then upgrade eksctl, then upgrade the nodes. That's the only thing that comes to mind. |
The Version field was stuck on 1.27 on the Cloudformation stack. So the solution was either to remove that manually or just recreate the nodegroups from scratch. |
I am trying to upgrade my manged node-groups with ( eksctl version v0.172):
eksctl upgrade nodegroup --name=mo-2vcpu-16gb-spot-v2 --kubernetes-version 1.29 --cluster=my-cluster
I am expecting for the nodes to be upgraded with the latest AMI version on kubernetes version 1.29, but they get reverted to 1.27.
I have also experienced it when i have upgraded the nodes to version 1.28, i thought it was a bug that would eventually get fixed, so i have upgraded manually from the AWS EKS console.
The text was updated successfully, but these errors were encountered: