k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel config
PATCH 1/1 k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel config
K3s (and Kubernetes) supports load balancing via IPVS, and by default reports errors when IPVS kernel modules cannot be loaded.
This patch adds the missing reported kernel modules to the k3s recipe:
* ip-vs
* ip-vs-rr
* ip-vs-wrr
* ip-vs-sh
The modules are configured by including the ip_vs kernel feature.
--- recipes-containers/k3s/k3s_git.bb | 4 ++++ recipes-kernel/linux/linux-yocto/kubernetes.scc | 1 + 2 files changed, 5 insertions(+)
recipes-containers/k3s/k3s_git.bb +4 -0
@@ -2704,6 +2704,10 @@ RRECOMMENDS:${PN} = "\ kernel-module-xt-nflog \ kernel-module-xt-limit \ kernel-module-nfnetlink-log \ + kernel-module-ip-vs \ + kernel-module-ip-vs-rr \ + kernel-module-ip-vs-sh \ + kernel-module-ip-vs-wrr \ " RCONFLICTS:${PN} = "kubectl"
recipes-kernel/linux/linux-yocto/kubernetes.scc +1 -0
@@ -1,2 +1,3 @@ include docker.scc +include cgl/cfg/net/ip_vs.scc kconf non-hardware kubernetes.cfg
--
2.25.1
staged on master-next.
Bruce
In message: [meta-virtualization] [PATCH] k3s: Add missing IP Virtual Server (ip_vs) feature to the kernel config
Quoted 54 lines · on 14/04/2022 Richard Neill wrote:
K3s (and Kubernetes) supports load balancing via IPVS, and by default reports errors when IPVS kernel modules cannot be loaded.
This patch adds the missing reported kernel modules to the k3s recipe:
* ip-vs
* ip-vs-rr
* ip-vs-wrr
* ip-vs-shThe modules are configured by including the
ip_vskernel feature.Signed-off-by Richard Neill <[email protected]>--- recipes-containers/k3s/k3s_git.bb | 4 ++++ recipes-kernel/linux/linux-yocto/kubernetes.scc | 1 + 2 files changed, 5 insertions(+)recipes-containers/k3s/k3s_git.bb +4
-0@@ -2704,6 +2704,10 @@ RRECOMMENDS:${PN} = "\ kernel-module-xt-nflog \ kernel-module-xt-limit \ kernel-module-nfnetlink-log \ + kernel-module-ip-vs \ + kernel-module-ip-vs-rr \ + kernel-module-ip-vs-sh \ + kernel-module-ip-vs-wrr \ " RCONFLICTS:${PN} = "kubectl"recipes-kernel/linux/linux-yocto/kubernetes.scc +1
-1@@ -1,2 +1,3 @@ include docker.scc +include cgl/cfg/net/ip_vs.scc kconf non-hardware kubernetes.cfg --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#7174): https://lists.yoctoproject.org/g/meta-virtualization/message/7174
Mute This Topic: https://lists.yoctoproject.org/mt/90436886/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-