Skip to content

Commit 7757e5b

Browse files
committed
add limitation of centralized gateway subnet (#144)
Signed-off-by: oilbeater <[email protected]>
1 parent 810d432 commit 7757e5b

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

docs/advance/ovn-ipsec.en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Encrypt inter-node communication using IPsec
22

3-
This function is supported after v1.10.11 and v1.11.4, and the kernel version is at least 3.10.0 or above.
3+
This function is supported after v1.10.11 and v1.11.4, the kernel version is at least 3.10.0 or above, and UDP ports 500 and 4500 are available.
44

5-
## start IPsec
5+
## Start IPsec
66

77
Copy the script from the Kube-OVN source code [ipsec.sh](https://raw.githubusercontent.com/kubeovn/kube-ovn/master/dist/images/ipsec.sh), execute the command as follows, the script will call ovs-pki to generate and distribute the certificate required for encryption:
88

docs/advance/ovn-ipsec.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# 使用 IPsec 加密节点间通信
22

3-
该功能从 v1.10.11 和 v1.11.4 后开始支持,kernel 版本至少是 3.10.0 以上。
3+
该功能从 v1.10.11 和 v1.11.4 后开始支持,kernel 版本至少是 3.10.0 以上,同时需要保证主机 UDP 500 和 4500 端口可用
44

55
## 启动 IPsec
66

@@ -13,7 +13,7 @@ bash ipsec.sh init
1313
执行完毕后,节点之间会协商一段时间建立 IPsec 隧道,经验值是十几秒到一分钟之间,可以通过如下命令来查看 IPsec 状态:
1414

1515
```bash
16-
# sh ipsec.sh status
16+
# bash ipsec.sh status
1717
Pod {ovs-ovn-d7hdt} ipsec status...
1818
Interface name: ovn-a4718e-0 v1 (CONFIGURED)
1919
Tunnel Type: geneve

docs/guide/subnet.en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,8 @@ spec:
194194
195195
### Centralized Gateway
196196
197+
> Note: Pods under a centralized subnet cannot be accessed through `hostport` or a NodePort type Service with `externalTrafficPolicy: Local`.
198+
197199
![](../static/centralized-gateway.png)
198200

199201
If you want traffic within the Subnet to access the external network using a fixed IP for security operations such as auditing and whitelisting,

docs/guide/subnet.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ join 子网的 CIDR 请参考[修改 Join 子网](../ops/change-join-subnet.md)
6060

6161
### 查看 Join 子网
6262

63+
> 注意:集中式子网下的 Pod 无法通过 `hostport`, 以及设置了 `externalTrafficPolicy: Local` 的 NodePort 类型 Service 进行访问,
64+
6365
该子网默认名为 `join` 一般无需对该子网 CIDR 外的其他网络配置进行修改。
6466

6567
```bash

0 commit comments

Comments
 (0)