Skip to content

Kubernetes-CentOS-Kernel aims to build an enhanced CentOS kernel to run Kubernetes safely

License

Notifications You must be signed in to change notification settings

garyhuang123/kubernetes-centos-kernel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes-CentOS-Kernel

Kubernetes-CentOS-Kernel aims to build an enhanced CentOS kernel to run Kubernetes safely. If you are running Kubernetes on CentOS, you may encounter some critical issues that would crash your guest operating system. Kubernetes-CentOS-Kernel fixes those critical issues for you.

To be noticed, there is no warranty on this. It is not suggested to use it in production environment.

Current fixed issues

  • SLUB: Unable to allocate memory on node -1

    Fixed by disabling the Kernel Memory Accounting which is only experimental on kernel 3.10.

  • kernel:[921702.796883] unregister_netdevice: waiting for eth0 to become free. Usage count = 1

    Fixed according to net: tcp: close sock if net namespace is exiting

Kernel upstream

http://vault.centos.org/7.6.1810/updates/Source/SPackages/kernel-3.10.0-957.10.1.el7.src.rpm

Build kernel

cd kubernetes-centos-kernel
sh run.sh

RPM location

rpmbuild/RPMS/x86_64/kernel-3.10.0-957.10.1.el7.local.x86_64.rpm

Upgrade

rpm -Uvh kernel-3.10.0-957.10.1.el7.local.x86_64.rpm

Has dependency issues?

yum localinstall kernel-3.10.0-957.10.1.el7.local.x86_64.rpm

Notice

There is no warranty on this. It is not suggested to use it in production environment.