Skip to content
This repository has been archived by the owner on Apr 1, 2022. It is now read-only.

请问下为什么要用4.18版本内核? #19

Closed
ppabc opened this issue Nov 26, 2018 · 3 comments
Closed

请问下为什么要用4.18版本内核? #19

ppabc opened this issue Nov 26, 2018 · 3 comments
Labels
duplicate This issue or pull request already exists help wanted Extra attention is needed

Comments

@ppabc
Copy link

ppabc commented Nov 26, 2018

是因为 4.18内核,kube-proxy才能支持ipvs ?
CentOS Linux系统默认的 (3.10.0-693.el7.x86_64) 7 (Core)
这个不支持吗?3.10.0-693.el7.x86_64打个补丁 是否也可以 ?

还有个疑问,集群结构摘要没有看到traefik,是和lvs一起在load balance这层吗?

@ppabc ppabc changed the title 请问下为什么要用 请问下为什么要用4.18版本内核? Nov 26, 2018
@lentil1016 lentil1016 added duplicate This issue or pull request already exists help wanted Extra attention is needed labels Nov 26, 2018
@lentil1016
Copy link
Owner

lentil1016 commented Nov 26, 2018

首先3.10内核中有复数个Cgroup内存泄漏的bug。
其次3.10版本内核且缺少ip_vs_fo.ko模块,将导致kube-proxy无法开启ipvs模式。
查看索引可知出现ip_vs_fo.ko模块的最早版本为3.19版本,这个内核版本在RedHat系列发行版的常见RPM源中是不存在的。当然通过手工编译内核的方式选用该版本内核依然是你潜在的选择。
对于为何是特定的4.18版本,而不是更高版本,请参考 #14

Traefik和dashboard、heapster等属于非必须的集群插件。并且traefik使用DaemonSet对象部署,属于标准部署,不论集群是否HA,Traefik的部署方式都是一样的,在集群结构图中表示略显多余。

@lentil1016
Copy link
Owner

如果没有其他疑惑,烦请关闭这个问题

@ppabc
Copy link
Author

ppabc commented Nov 27, 2018

谢谢

@ppabc ppabc closed this as completed Nov 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants