From 176b81440aa28eac4014d8a7fa81a8d0e4c59b85 Mon Sep 17 00:00:00 2001 From: Icarus9913 Date: Tue, 7 Nov 2023 15:45:54 +0800 Subject: [PATCH] add vlan and bond description for macvlan Signed-off-by: Icarus9913 --- docs/usage/install/underlay/get-started-macvlan-zh_CN.md | 3 +++ docs/usage/install/underlay/get-started-macvlan.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/docs/usage/install/underlay/get-started-macvlan-zh_CN.md b/docs/usage/install/underlay/get-started-macvlan-zh_CN.md index 5de4fffc0e..3c52b5d9fe 100644 --- a/docs/usage/install/underlay/get-started-macvlan-zh_CN.md +++ b/docs/usage/install/underlay/get-started-macvlan-zh_CN.md @@ -73,6 +73,9 @@ Spiderpool 为简化书写 JSON 格式的 Multus CNI 配置,它提供了 Spide * 确认 Macvlan 所需的宿主机父接口,本例子以宿主机 eth0 网卡为例,从该网卡创建 Macvlan 子接口给 Pod 使用 + > * 若有 vlan 的需求,可在 `spec.vlanID` 字段中指定 vlan 号,我们将会为网卡创建对应的 vlan 子接口 + > * 我们还提供对网卡 bond 的支持,只需在 `spec.bond.name` 和 `spec.bond.mode` 里指定 bond 网卡的名字和模式即可。随后我们会自动为你实现多张网卡 bond 成一张网卡。 + ```shell MACVLAN_MASTER_INTERFACE="eth0" cat < * If there is a VLAN requirement, you can specify the VLAN ID in the `spec.vlanID` field. We will create the corresponding VLAN sub-interface for the network card. + > * We also provide support for network card bonding. Just specify the name of the bond network card and its mode in the `spec.bond.name` and `spec.bond.mode` respectively. We will automatically combine multiple network cards into one bonded network card for you. + ```shell MACVLAN_MASTER_INTERFACE="eth0" cat <