k8s: update kernel configuration features
PATCH 1/1 k8s: update kernel configuration features
From: Zqiang <[email protected]>
Add kernel config fragment according to the requirement from the file types_unix.go in source codes of kubernetes.
--- .../linux/linux-yocto/kubernetes.cfg | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-)
recipes-kernel/linux/linux-yocto/kubernetes.cfg +17 -1
@@ -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
Signature · 1 line
2.29.2
I've merged this for now, but in the next month, I'll be moving all of the layer fragments to the kernel-cache, and at that time, we should be re-using fragments that already provide similar options, versus simply listing them all in the k8s fragment.
I'll take care of those changes, but I just wanted to give a heads up.
Bruce
In message: [meta-virtualization] [PATCH] k8s: update kernel configuration features
Quoted 39 lines · on 21/07/2021 [email protected] wrote:
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(-)recipes-kernel/linux/linux-yocto/kubernetes.cfg +17
-1@@ -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=mSignature · 1 line
2.29.2
________________________________________
From: [email protected] <[email protected]> on behalf of Bruce Ashfield <[email protected]>
Sent: Thursday, 29 July 2021 23:01
To: Zhang, Qiang
Cc: [email protected]
Subject: Re: [meta-virtualization] [PATCH] k8s: update kernel configuration features
[Please note: This e-mail is from an EXTERNAL e-mail address]
Quoted 7 lines
I've merged this for now, but in the next month, I'll be moving all of the layer fragments to the kernel-cache, and at that time, we should be re-using fragments that already provide similar options, versus simply listing them all in the k8s fragment.
I'll take care of those changes, but I just wanted to give a heads up.
Thanks Bruce
Quoted 44 lines
Bruce
In message: [meta-virtualization] [PATCH] k8s: update kernel configuration >features on 21/07/2021 [email protected] wrote:
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(-)recipes-kernel/linux/linux-yocto/kubernetes.cfg +17
-2@@ -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