Skip to content

Commit 6378626

Browse files
authored
add mtu for subnet (#139)
Signed-off-by: changluyi <[email protected]>
1 parent ada3dab commit 6378626

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/guide/subnet.en.md

+13
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,19 @@ spec:
325325
enableMulticastSnoop: true
326326
```
327327

328+
## Subnet MTU Setting
329+
330+
Configure the MTU of the Pod under Subnet. After configuration, you need to restart the Pod under Subnet to take effect.
331+
332+
```yaml
333+
apiVersion: kubeovn.io/v1
334+
kind: Subnet
335+
metadata:
336+
name: sample1
337+
spec:
338+
mtu: 1300
339+
```
340+
328341
## Other Advanced Settings
329342

330343
- [Configure IPPool](./ippool.en.md)

docs/guide/subnet.md

+13
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,19 @@ spec:
312312
enableMulticastSnoop: true
313313
```
314314

315+
## Subnet MTU 配置
316+
317+
配置 Subnet 下 Pod 的 MTU,配置后需要重启 Subnet 下的 Pod 才生效
318+
319+
```yaml
320+
apiVersion: kubeovn.io/v1
321+
kind: Subnet
322+
metadata:
323+
name: sample1
324+
spec:
325+
mtu: 1300
326+
```
327+
315328
## 其他高级设置
316329

317330
- [IP 池使用](./ippool.md)

0 commit comments

Comments
 (0)