From 159234a0a6332e1007a8700e27eec9aaa861a622 Mon Sep 17 00:00:00 2001 From: Mengjiao Liu <mengjiao.liu@daocloud.io> Date: Tue, 23 Nov 2021 15:51:22 +0800 Subject: [PATCH] kubelet: sysctls allows slashes as a separator --- .../docs/tasks/administer-cluster/sysctl-cluster.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/content/en/docs/tasks/administer-cluster/sysctl-cluster.md b/content/en/docs/tasks/administer-cluster/sysctl-cluster.md index f81623982f..791df4a2b4 100644 --- a/content/en/docs/tasks/administer-cluster/sysctl-cluster.md +++ b/content/en/docs/tasks/administer-cluster/sysctl-cluster.md @@ -13,6 +13,17 @@ This document describes how to configure and use kernel parameters within a Kubernetes cluster using the {{< glossary_tooltip term_id="sysctl" >}} interface. +{{< note >}} +Starting from Kubernetes version 1.23, the kubelet supports the use of either `/` or `.` +as separators for sysctl names. +For example, you can represent the same sysctl name as `kernel.shm_rmid_forced` using a +period as the separator, or as `kernel/shm_rmid_forced` using a slash as a separator. +For more sysctl parameter conversion method details, please refer to +the page [sysctl.d(5)](https://man7.org/linux/man-pages/man5/sysctl.d.5.html) from +the Linux man-pages project. +Setting Sysctls for a Pod and PodSecurityPolicy features do not yet support +setting sysctls with slashes. +{{< /note >}} ## {{% heading "prerequisites" %}}