项目作者: garyhuang123

项目描述 :
Kubernetes-CentOS-Kernel aims to build an enhanced CentOS kernel to run Kubernetes safely
高级语言: Shell
项目地址: git://github.com/garyhuang123/kubernetes-centos-kernel.git
创建时间: 2019-04-17T08:25:25Z
项目社区:https://github.com/garyhuang123/kubernetes-centos-kernel

开源协议:Apache License 2.0

下载


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

  1. cd kubernetes-centos-kernel
  2. sh run.sh

RPM location

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

Upgrade

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

Has dependency issues?

  1. 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.