Skip to content

Commit 810d432

Browse files
changluyioilbeater
authored andcommitted
add mtu for subnet (#139)
Signed-off-by: changluyi <[email protected]>
1 parent 6567761 commit 810d432

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/guide/subnet.en.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,19 @@ spec:
322322
enableMulticastSnoop: true
323323
```
324324

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

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

docs/guide/subnet.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,19 @@ spec:
309309
enableMulticastSnoop: true
310310
```
311311

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

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

0 commit comments

Comments
 (0)