For Kubernetes >=1.32.0, the recommended kernel LTS version from the 4.x series is 4.19. Any 5.x or 6.x versions are also supported. For cgroups v2 support, the minimum version is 4.15 and the recommended version is 5.8+. Refer to this link. For more information, see kernel version requirements.
If the OS kernel version is lower than required, add the following configuration to ignore the kubeadm preflight errors:
kubeadm_ignore_preflight_errors:
- SystemVerification
The Kernel Version Matrixs:
OS Verion | Kernel Verion | Kernel >=4.19 |
---|---|---|
RHEL 9 | 5.14 | ✅ |
RHEL 8 | 4.18 | ❌ |
Alma Linux 9 | 5.14 | ✅ |
Alma Linux 8 | 4.18 | ❌ |
Rocky Linux 9 | 5.14 | ✅ |
Rocky Linux 8 | 4.18 | ❌ |
Oracle Linux 9 | 5.14 | ✅ |
Oracle Linux 8 | 4.18 | ❌ |
Ubuntu 24.04 | 6.6 | ✅ |
Ubuntu 22.04 | 5.15 | ✅ |
Ubuntu 20.04 | 5.4 | ✅ |
Debian 12 | 6.1 | ✅ |
Debian 11 | 5.10 | ✅ |
Fedora 40 | 6.8 | ✅ |
Fedora 39 | 6.5 | ✅ |
openSUSE Leap 15.5 | 5.14 | ✅ |
Amazon Linux 2 | 4.14 | ❌ |
openEuler 24.03 | 6.6 | ✅ |
openEuler 22.03 | 5.10 | ✅ |
openEuler 20.03 | 4.19 | ✅ |