Skip to content
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

Why kernel version locked from EKS 1.25 #1248

Closed
alpana17 opened this issue Apr 4, 2023 · 4 comments
Closed

Why kernel version locked from EKS 1.25 #1248

alpana17 opened this issue Apr 4, 2023 · 4 comments

Comments

@alpana17
Copy link

alpana17 commented Apr 4, 2023

Till Amazon EKS 1.24, there was no version lock for kernel.
But in Amazon EKS 1.25, file vi /etc/yum/pluginconf.d/versionlock.list has lock for kernel.
As a result, I am not able to install any other kernel.

What is the reason to add version lock for kernel package

@DekusDenial
Copy link

DekusDenial commented Apr 4, 2023

Could be some stale step or entirely intentional. See https://github.com/awslabs/amazon-eks-ami/blob/master/doc/USER_GUIDE.md#version-locked-packages if not already.

As a result, I am not able to install any other kernel.

You can remove the lock before upgrading. Been running 5.15 just fine.

@alpana17
Copy link
Author

alpana17 commented Apr 4, 2023

Has there been some user issues faced with kernel updates on existing AMIs in past?

@dims
Copy link
Member

dims commented Apr 4, 2023

@alpana17 please see the PR for the change here:
#1191

there was a kernel version lock during update which caused issues, so it was moved to install-worker itself.

@cartermckinnon
Copy link
Member

@alpana17 one example is #1071 (5.4.217-126.408.amzn2). Each kernel release contains patches which may impact performance and stability. Depending on your workload, the impact may be subtle or critical. Additionally, If you install the latest kernel at runtime, as you scale your nodegroup up and down, the kernel version used in the nodegroup becomes heterogeneous.

The version lock is intended to prevent unintentional updates of the kernel. You can remove the version lock with the instructions in the user guide: https://github.com/awslabs/amazon-eks-ami/blob/master/doc/USER_GUIDE.md#version-locked-packages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants