@@ -136,9 +136,15 @@ The following sysctls are supported in the _safe_ set:
136
136
137
137
{{< note >}}
138
138
<!--
139
- The example `net.ipv4.tcp_syncookies` is not namespaced on Linux kernel version 4.4 or lower.
139
+ There are some exceptions to the set of safe sysctls:
140
+
141
+ - The `net.*` sysctls are not allowed with host networking enabled.
142
+ - The `net.ipv4.tcp_syncookies` sysctl is not namespaced on Linux kernel version 4.4 or lower.
140
143
-->
141
- 示例中的 ` net.ipv4.tcp_syncookies ` 在 Linux 内核 4.4 或更低的版本中是无命名空间的。
144
+ 安全 sysctl 参数有一些例外:
145
+
146
+ - ` net.* ` sysctl 参数不允许在启用主机网络的情况下使用。
147
+ - ` net.ipv4.tcp_syncookies ` sysctl 参数在 Linux 内核 4.4 或更低的版本中是无命名空间的。
142
148
{{< /note >}}
143
149
144
150
<!--
@@ -217,14 +223,14 @@ in future versions of the Linux kernel.
217
223
- ` kernel.sem ` ,
218
224
- ` fs.mqueue.* ` ,
219
225
<!--
220
- - The parameters under `net.*` that can be set in container networking
221
- namespace. However, there are exceptions (e.g., before Linux 5.12.2,
222
- `net.netfilter.nf_conntrack_max` and `net.netfilter.nf_conntrack_expect_max`
223
- can be set in container networking namespace but they are unnamespaced).
226
+ - Those `net.*` that can be set in container networking namespace. However,
227
+ there are exceptions (e.g., `net.netfilter.nf_conntrack_max` and
228
+ `net.netfilter.nf_conntrack_expect_max` can be set in container networking
229
+ namespace but are unnamespaced before Linux 5.12.2 ).
224
230
-->
225
- - ` net.* ` (内核中可以在容器命名空间里被更改的网络配置项相关参数)。然而也有一些特例
226
- (例如,在 Linux 5.12.2 前, ` net.netfilter.nf_conntrack_max ` 和 ` net.netfilter.nf_conntrack_expect_max `
227
- 可以在容器命名空间里被更改,但它们是非命名空间的 )。
231
+ - 那些可以在容器网络命名空间中设置的 ` net.* ` 。但是,也有例外(例如
232
+ ` net.netfilter.nf_conntrack_max ` 和 ` net.netfilter.nf_conntrack_expect_max `
233
+ 可以在容器网络命名空间中设置,但在 Linux 5.12.2 之前它们是无命名空间的 )。
228
234
229
235
<!--
230
236
Sysctls with no namespace are called _node-level_ sysctls. If you need to set
0 commit comments