D
D
Daniil Muidinov2019-11-30 22:22:36
linux
Daniil Muidinov, 2019-11-30 22:22:36

Which linux kernel to choose for docker/k8s?

Good afternoon, solving the issue of deploying a k8s cluster (1.16) with doker (19.03) on servers running Debian stretch
Out of the box, the distribution kit comes with a 4.9.0-8-amd64 kernel,
I know that some docker work bugs are corrected only in the new kernel version
From here the question is which kernel to choose based on maximum stability and compatibility (the minimum number of bugs that I can shoot with maximum compatibility with docker / k8s)
If possible, LTS to be supported for as long as possible
After successful testing, the tested configuration will go into large production, so I want to hear configuration advice from those who have experience in k8s / docker in large production on their hardware and have already gone through many rakes

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
chupasaurus, 2019-11-30
@chupasaurus

Stretch 3 months as oldstable, install Buster and don't suffer.
Docker bugs are fixed in docker, namespace/cgroups/FS drivers bugs are fixed in the kernel.
Remember once and for all: containers ≠ Docker . K8s can work through containerd without the blue whale, which works through it.

G
Georg Gaal, 2020-02-02
@gecube

Any answer will be opinionated. I would say that even more than that - the choice of operating system and kernel is absolutely meaningless without discussing the choice of distribution. Because big players like OpenShift and Rancher are tested only on a closed list of versions and variants. And you will be forced to use them, otherwise rake and fix bugs yourself. And the same debian rancher explodes on installation, although with centos and ubuntu (any reasonable version) - everything is fine.
Moreover, there are special distributions optimized for kubernetes like CoreOS. Now it is actively being cut into Fedora CoreOS. Let's see what happens. Vmware , opensuse and many others have the same minimalistic distributions.
Otherwise - of course, the fresher - the better.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question