From: Zqiang <[email protected]>

Add kernel config fragment according to the requirement from the file
types_unix.go in source codes of kubernetes.

Signed-off-by: Zqiang <[email protected]>
---
 .../linux/linux-yocto/kubernetes.cfg           | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-yocto/kubernetes.cfg 
b/recipes-kernel/linux/linux-yocto/kubernetes.cfg
index c3e90d43..2d4e1f54 100644
--- a/recipes-kernel/linux/linux-yocto/kubernetes.cfg
+++ b/recipes-kernel/linux/linux-yocto/kubernetes.cfg
@@ -16,4 +16,20 @@ CONFIG_IP_VS_RR=m
 CONFIG_NETFILTER_XT_MATCH_COMMENT=m
 CONFIG_NETFILTER_XT_MATCH_MARK=m
 CONFIG_NETFILTER_XT_CONNMARK=m
-
+CONFIG_NAMESPACES=y
+CONFIG_NET_NS=y
+CONFIG_PID_NS=y
+CONFIG_IPC_NS=y
+CONFIG_UTS_NS=y
+CONFIG_CGROUPS=y
+CONFIG_CGROUP_CPUACCT=y
+CONFIG_CGROUP_DEVICE=y
+CONFIG_CGROUP_FREEZER=y
+CONFIG_CGROUP_SCHED=y
+CONFIG_SMP=y
+CONFIG_CPUSETS=y
+CONFIG_MEMCG=y
+CONFIG_INET=y
+CONFIG_EXT4_FS=y
+CONFIG_PROC_FS=y
+CONFIG_NETFILTER_XT_TARGET_REDIRECT=m
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#6650): 
https://lists.yoctoproject.org/g/meta-virtualization/message/6650
Mute This Topic: https://lists.yoctoproject.org/mt/84349006/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to