-
Notifications
You must be signed in to change notification settings - Fork 321
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
[EKS] Support for swap memory with Kubernetes #1714
Comments
It would be great at least for EC2 managed node groups |
any updates on this? |
It is still alpha as of today (Kubernetes folks are working on 1.27 and it's not on the table for 1.27 either) |
Any update on this? Is there any workaround besides just waiting until it's stable? |
@OrBin see requirements for this feature, it needs |
Your answer applies for Kubernetes 1.28, right? I am actually using an older version, so I don't think the cgroup version is an issue for me. |
@OrBin the feature is NOT available in any other version of k8s by default. |
I see that eks now uses al2023, which have cgroups2. What is left to support swap? |
please watch kubernetes/enhancements#2400 |
+1 |
This is supported on the AL2023-based EKS AMI's, you'll just need to pass the necessary options to kubelet in your This feature will not be supported on AL2-based EKS AMI's, as cgroupv2 is not supported there. |
I guess it graduated to stable with k8s 1.31? Not the most knowledgeable person on this though |
It's beta since 1.30 - https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/2400-node-swap/kep.yaml#L33-L36 You can read all about it here - https://github.com/kubernetes/enhancements/blob/master/keps/sig-node/2400-node-swap/README.md Like @cartermckinnon pointed out, the feature will ONLY work in Operating Systems that use cgroups v2, So Amazon Linux 2023 qualifies and AL2 does NOT: Just to be clear, It does not matter if it is graduated or not, it will NOT work on cgroups v1 (AL2). Hope this helps! |
Tell us about your request
EKS alpha support for using swap memory
Which service(s) is this request for?
EKS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
In Kubernetes v1.22, alpha support for using swap memory was introduced. However, on EKS changelog for Kubernetes v1.22 this feature does not appear.
The text was updated successfully, but these errors were encountered: