-
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
[Feature] [Upgrade nodegroup] Update Bottlerocket nodes to latest AMI release version #6766
Comments
@cPu1 I saw that you worked on related bottlerocket issues previously. Just tagging you so that may be you could help or suggest any workaround |
#4666 When I checked my CNF template of AmazonLinux2 EKS nodegroup and Bottlerocket EKS nodegroup, the default difference is AmazonLinux2 CNF template:
Bottlerocket CNF template:
|
Hi @remo1435 , indeed seems like updating to latest AMI release version is currently only supported for AL2 images (see code snipped below). I don't know yet whether there are any deterrents in having the same behaviour for other AMI families. I've marked this as a feature request. Will discuss it internally and come back to you. |
Spike: To come up with a proposal for this feature and understand any limitations |
Moving forward with implementing this, as the complexity is fairly low and there don't seem to be any blockers. |
What were you trying to accomplish?
Trying to update private EKS cluster bottlerocket nodegroup with the latest
bottlerocket
AMI version in the same Kubernetes VersionWhat happened?
eksctl upgrade nodegroup
is not fetching the latest Bottlerocket AMI while it successfully does for AmazonLinux2 AMI (even when not provisiningreleaseVersion
parameter in cluster config for AL2 NG) saying:How to reproduce it?
bottlerocket
AMI version using the below configeksctl upgrade npdegroup
passing new AMI version in thereleaseVersion
parameternodegroup
name changes orK8s version
updateseksctl
cluster config:terraform
data module:eksctl
commands:Anything else we need to know?
Everytime we run the CI/CD pipeline, the
eksctl
commands get executed to create the cluster, nodegroup and upgrade nodegroup and update nodegroup commands and the cloudformation stack is checking for the latest AL2 AMI version if present and updates the EKS node group to the latest AMI releaseversion (when and only we run the pipeline not auto updates) which is not happening for Bottlerocket AMIWe don't want to stick to any particular AMI version but we want to have latest AMI release versions for the same k8s version when available and we dont want to use any operators like bottlerocket update operator as we dont want any auto updates happening.
Bottlerocket nodegroup is updating only when we change the
nodegroup
name orkubernetes
version.Versions
Bottlerocket OS 1.13.4 (aws-k8s-1.23)
eksctl version=0.141.0
The text was updated successfully, but these errors were encountered: