Skip to content

Commit 4b8356e

Browse files
committed
fix typo
Signed-off-by: Mengxin Liu <[email protected]>
1 parent b9a27c4 commit 4b8356e

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

docs/guide/eip-snat.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ data:
3636
```
3737
3838
- `enable-external-gw`: Whether to enable SNAT and EIP functions.
39-
- `type`: `centrailized` or `distributed`, Default is `centralized` If `distributed` is used, all nodes of the cluster need to have the same name NIC to perform the gateway function.
40-
- `external-gw-nodes`: In `centralized` modeThe names of the node performing the gateway role, comma separated.
39+
- `type`: `centralized` or `distributed`, Default is `centralized` If `distributed` is used, all nodes of the cluster need to have the same name NIC to perform the gateway function.
40+
- `external-gw-nodes`: In `centralized`mode, The names of the node performing the gateway role, comma separated..
4141
- `external-gw-nic`: The name of the NIC that performs the role of a gateway on the node.
4242
- `external-gw-addr`: The IP and mask of the physical network gateway.
4343
- `nic-ip`,`nic-mac`: The IP and Mac assigned to the logical gateway port needs to be an unoccupied IP and Mac for the physical subnet.

docs/guide/eip-snat.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
> 该配置针对默认 VPC 下的网络,用户自定义 VPC 请参考 [VPC 网关](./vpc.md#vpc_2)
44
55
Kube-OVN 支持利用 OVN 中的 L3 Gateway 功能来实现 Pod 级别的 SNAT 和 EIP 功能。
6-
通过使用 SNAT,一组 Pod 可以共享一个 IP 地址对外进行访问。 通过 EIP 的功能,一个 Pod 可以直接和一个外部 IP 关联,
6+
通过使用 SNAT,一组 Pod 可以共享一个 IP 地址对外进行访问。通过 EIP 的功能,一个 Pod 可以直接和一个外部 IP 关联,
77
外部服务可以通过 EIP 直接访问 Pod,Pod 也将通过这个 EIP 访问外部服务。
88

99
![](../static/eip-snat.png)
@@ -35,15 +35,15 @@ data:
3535
```
3636
3737
- `enable-external-gw`: 是否开启 SNAT 和 EIP 功能。
38-
- `type`: `centrailized` 或 `distributed`, 默认为 `centralized` 如果使用 `distributed`,则集群所有节点都需要有同名网卡来承担网关功能。
38+
- `type`: `centralized` 或 `distributed`,默认为 `centralized` 如果使用 `distributed`,则集群所有节点都需要有同名网卡来承担网关功能。
3939
- `external-gw-nodes`: `centralized` 模式下,承担网关作用的节点名,逗号分隔。
4040
- `external-gw-nic`: 节点上承担网关作用的网卡名。
4141
- `external-gw-addr`: 物理网络网关的 IP 和掩码。
4242
- `nic-ip`,`nic-mac`: 分配给逻辑网关端口的 IP 和 Mac,需为物理段未被占用的 IP 和 Mac。
4343

4444
## 观察 OVN 和 OVS 状态确认配置生效
4545

46-
检查 OVN-NB 状态, 确认 `ovn-external` 逻辑交换机存在,并且 `ovn-cluster-ovn-external`
46+
检查 OVN-NB 状态确认 `ovn-external` 逻辑交换机存在,并且 `ovn-cluster-ovn-external`
4747
逻辑路由器端口上 绑定了正确的地址和 chassis。
4848

4949
```bash
@@ -121,6 +121,6 @@ kubectl annotate pod pod-gw ovn.kubernetes.io/routed-
121121

122122
`kube-ovn-controller` 的部分启动参数可对 SNAT 和 EIP 功能进行高阶配置:
123123

124-
- `--external-gateway-config-ns`: Configmap `ovn-external-gw-config` 所属 Namespace, 默认为 `kube-system`。
124+
- `--external-gateway-config-ns`: Configmap `ovn-external-gw-config`所属 Namespace,默认为为 `kube-system`。
125125
- `--external-gateway-net`: 物理网卡所桥接的网桥名,默认为 `external`。
126-
- `--external-gateway-vlanid`: 物理网络 Vlan Tag 号,默认为 0, 即不使用 Vlan。
126+
- `--external-gateway-vlanid`: 物理网络 Vlan Tag 号,默认为 0,即不使用 Vlan。

docs/guide/vpc.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ spec:
415415

416416
### Modify the Provider of the ovn-default Logical Switch
417417

418-
Modify the provider of ovn-default to the provider `ovn-nad.default.ovn` configured above in nad
418+
Modify the provider of ovn-default to the provider `ovn-nad.default.ovn`configured above in nad:
419419

420420
```yaml
421421
apiVersion: kubeovn.io/v1

docs/guide/vpc.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ data:
190190
```
191191

192192
- `image`: 网关 Pod 所使用的镜像。
193-
- `enable-vpc-nat-gw` 控制是否启用 VPC 网关功能。
193+
- `enable-vpc-nat-gw`:控制是否启用 VPC 网关功能。
194194

195195
### 创建 VPC 网关并配置默认路由
196196

@@ -214,7 +214,7 @@ spec:
214214
- `subnet`:为 VPC 内某个 Subnet 名,VPC 网关 Pod 会在该子网下用 `lanIp` 来连接租户网络。
215215
- `lanIp`:`subnet` 内某个未被使用的 IP,VPC 网关 Pod 最终会使用该 IP。当 VPC 配置路由需要指向当前 VpcNatGateway 时 `nextHopIP` 需要设置为这个 `lanIp`。
216216
- `selector`:VpcNatGateway Pod 的节点选择器,格式和 Kubernetes 中的 NodeSelector 格式相同。
217-
- `externalSubnets` VPC 网关使用的外部网络,如果不配置则默认使用 `ovn-vpc-external-network`,当前版本只支持配置一个外部网络。
217+
- `externalSubnets`:VPC 网关使用的外部网络,如果不配置则默认使用 `ovn-vpc-external-network`,当前版本只支持配置一个外部网络。
218218

219219
其他可配参数:
220220

@@ -265,7 +265,7 @@ spec:
265265
externalSubnet: ovn-vpc-external-network
266266
```
267267

268-
- `externalSubnet` EIP 所在外部网络名称,如果不指定则默认为 `ovn-vpc-external-network`,如果指定则必须为所在 VPC 网关的 `externalSubnets` 中的一个。
268+
- `externalSubnet`:EIP 所在外部网络名称,如果不指定则默认为 `ovn-vpc-external-network`,如果指定则必须为所在 VPC 网关的 `externalSubnets` 中的一个。
269269

270270
### 创建 DNAT 规则
271271

@@ -502,7 +502,7 @@ data:
502502
- `coredns-vip`:为 coredns 提供 lb 服务的 vip。
503503
- `nad-name`:配置的 `network-attachment-definitions` 资源名称。
504504
- `nad-provider`:使用的 provider 名称。
505-
- `k8s-service-host`:(可缺省) 用于 coredns 访问 k8s apiserver 服务的 ip。
505+
- `k8s-service-host`:(可缺省)用于 coredns 访问 k8s apiserver 服务的 ip。
506506
- `k8s-service-port`:(可缺省)用于 coredns 访问 k8s apiserver 服务的 port。
507507

508508
### 部署 vpc-dns 依赖资源
@@ -596,7 +596,7 @@ spec:
596596
subnet: cjh-subnet-1
597597
```
598598

599-
- `vpc` 用于部署 dns 组件的 vpc 名称。
599+
- `vpc`:用于部署 dns 组件的 vpc 名称。
600600
- `subnet`:用于部署 dns 组件的子名称。
601601

602602
查看资源信息:

0 commit comments

Comments
 (0)