-
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] eksctl utils update-aws-node
downgraded aws-node significantly instead of upgrading it
#7755
Comments
It seems like the version 1.12.6 is hardcoded, so it does update to the latest In #6692 I see how the hardcoded eksctl version has been updated historically. For k8s 1.29, version 1.14.1+ is recommended via https://github.com/aws/amazon-vpc-cni-k8s?tab=readme-ov-file#recommended-version, so in practice what happens now is that we get downgraded below the recommended version. /cc: @wind0r and @Himangini as the author and reviewer of #6692 helping this be updated historically. |
I opened #7756 to do a one-time bump. |
Thanks for the detailed issue! In addition to your PR, we plan on improving this experience by always installing EKS managed addons by default when addons are not specified, instead of letting EKS install self-managed addons. This should eliminate the need to maintain manifests with hard-coded versions in eksctl, as users will update addons using |
Wiee that sounds great, thank you for your work on eksctl @cPu1 and @TiberiuGC!! |
What were you trying to accomplish?
To perform a routine upgrade of a EKS cluster, upgrading
aws-node
daemonset along with it usingeksctl utils update-aws-node
.What happened?
When following cluster upgrade docs (https://eksctl.io/usage/cluster-upgrade/), linking out to addon upgrades docs (https://eksctl.io/usage/addon-upgrade/), the step
eksctl utils update-aws-node --cluster=<clusterName> --approve
led to an unexpected downgrade ofaws-node
.This is contradicting the help string of
eksctl utils update-aws-node
that saisUpdate aws-node add-on to latest released version
.I expected to get the version
v1.18.1-eksbuild.1
as that looks currently recommended for 1.29 clusters via official EKS docs, but instead I got downgraded fromv1.16.0-eksbuild.1
tov1.12.6
How to reproduce it?
I think it reproduces by setting up a eksctl cluster and then running the
eksctl utils update-aws-node
command.Anything else we need to know?
The eksctl cluster config looks like this, plus not included nodeGroups entries.
Versions
The text was updated successfully, but these errors were encountered: