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
Document kernel requirements #7528
Comments
Surely, pragmatically speaking, the answer is currently bounded by the kernel versions supported by Docker, i.e. >= 3.10. We can't support Kubernetes on top of kernel version which are known to be unstable and unsupported w.r.t. Docker. That also simplifies our networking, which ideally requires >=3.6. Is there anything more to discuss here? Of course we could theoretically consider supporting kernel versions earlier than 3.10 on containers other than Docker (e.g. Rocket), but unless there's pretty solid requirement for that, I'd say no. |
+1 to @quinton-hoole |
Docker kernel requirements seem to vary by distro. For example, see : http://docs.docker.com/installation/centos/ . CentOS/RHEL 6 are still popular/widely deployed. |
Also, it might be that the sysctl that is only available on >=3.6 doesn't in fact solve all the problems I thought it would. So we probably shouldn't let that influence the decision. @thockin's understanding is much better here. From @sidharta-s link, It looks like CentOS backported the kernel fixes that Docker needs to the 2.6 kernel that is part of CentOS 6.5. |
Aah, my oversight in not reading the docker support docs properly. The restriction to kernel >=3.10 only applies to Ubuntu. For Centos RHEL the restriction is >= 2.6.32-431 . I wonder how much of the stock kernel 3.6 and beyond has been back-ported to Centos/RHEL kernel 2.6.32-431? Last I looked (which was quite a few years ago, admittedly), many of the Centos/RHEL 2.6.x kernels were that version in name only, but included large back-ported chunks of later stock kernels. e.g. can anyone confirm whether or not the sysctl changes that justinsb@ mentions above and that are in the >=3.6 stock kernel have been back-ported to RHEL 2.6.32-431? |
Sadly, kernel support in this regard is not easily detected - how can we CentOS 6 FTW!
|
For detecting backports, I have in the past used runtime detection of kernel compile flags: http://stackoverflow.com/questions/14376540/view-linux-kernel-config-options In that case it worked pretty well, but we'd have to check how well we can detect what we're looking for in this case. |
We probably also need requirements for some packages/utilities like iptables? (3760). In general there doesn't seem to be much documentation about requirements for running kubernetes, though the code seems to try to stay back-compatible when possible. |
Issues go stale after 30d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Could anyone please definitively state the minimum Linux kernel version that will definitely work with Kubernetes 1.9? |
/remove-lifecycle rotten |
/assign |
EL7.4 - kernel(s) are the lower bound. |
@timothysc RHEL 7.4 uses the 3.10 kernel. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
From @thockin:
Here's what I found in the Docker docs:
Some of the networking stuff is substantially cleaner if we can assume kernel 3.6, which I would like.
CC @dchen1107 @rjnagal @ghodss @justinsb
The text was updated successfully, but these errors were encountered: