Skip to content

Commit c3d9800

Browse files
authored
Merge pull request #32935 from haircommander/drop-sysctl-min_pmtu
Bug 1942837: sysctl tutorial: drop net.ipv4.route.min_pmtu
2 parents af2b683 + a7f4bda commit c3d9800

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

modules/nodes-containers-sysctls-setting.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ that node. As with node-level sysctls, use the taints and toleration feature
1414
or labels on nodes to schedule those pods onto the right nodes.
1515

1616
The following example uses the pod `securityContext` to set a safe sysctl
17-
`kernel.shm_rmid_forced` and two unsafe sysctls, `net.ipv4.route.min_pmtu` and
17+
`kernel.shm_rmid_forced` and two unsafe sysctls, `net.core.somaxconn` and
1818
`kernel.msgmax`. There is no distinction between _safe_ and _unsafe_ sysctls in
1919
the specification.
2020

@@ -42,8 +42,8 @@ spec:
4242
sysctls:
4343
- name: kernel.shm_rmid_forced
4444
value: "0"
45-
- name: net.ipv4.route.min_pmtu
46-
value: "552"
45+
- name: net.core.somaxconn
46+
value: "1024"
4747
- name: kernel.msgmax
4848
value: "65536"
4949
...

modules/nodes-containers-sysctls-unsafe.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ spec:
6060
kubeletConfig:
6161
allowedUnsafeSysctls: <2>
6262
- "kernel.msg*"
63-
- "net.ipv4.route.min_pmtu"
63+
- "net.core.somaxconn"
6464
----
6565
<1> Specify the label from the machine config pool.
6666
<2> List the unsafe sysctls you want to allow.

0 commit comments

Comments
 (0)