Skip to content

Commit e5d4d25

Browse files
authored
Merge pull request #30604 from mengjiao-liu/kubelet-sysctl-allow-slashes
kubelet: sysctls allows slashes as a separator
2 parents 9b0b807 + 159234a commit e5d4d25

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

content/en/docs/tasks/administer-cluster/sysctl-cluster.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ This document describes how to configure and use kernel parameters within a
1313
Kubernetes cluster using the {{< glossary_tooltip term_id="sysctl" >}}
1414
interface.
1515

16+
{{< note >}}
17+
Starting from Kubernetes version 1.23, the kubelet supports the use of either `/` or `.`
18+
as separators for sysctl names.
19+
For example, you can represent the same sysctl name as `kernel.shm_rmid_forced` using a
20+
period as the separator, or as `kernel/shm_rmid_forced` using a slash as a separator.
21+
For more sysctl parameter conversion method details, please refer to
22+
the page [sysctl.d(5)](https://man7.org/linux/man-pages/man5/sysctl.d.5.html) from
23+
the Linux man-pages project.
24+
Setting Sysctls for a Pod and PodSecurityPolicy features do not yet support
25+
setting sysctls with slashes.
26+
{{< /note >}}
1627
## {{% heading "prerequisites" %}}
1728

1829

0 commit comments

Comments
 (0)