From 01de0b9d911ef05df1a222fc72837158bc9b3a07 Mon Sep 17 00:00:00 2001 From: bobz965 Date: Thu, 25 Jan 2024 10:55:04 +0800 Subject: [PATCH] update subnet to avoid ip overlap (#149) * update subnet to avoid ip overlap Signed-off-by: bobz965 * fix: syntax Signed-off-by: bobz965 --------- Signed-off-by: bobz965 --- docs/guide/subnet.en.md | 2 ++ docs/guide/subnet.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/guide/subnet.en.md b/docs/guide/subnet.en.md index 5c2b13023..69026d59b 100644 --- a/docs/guide/subnet.en.md +++ b/docs/guide/subnet.en.md @@ -8,6 +8,8 @@ Unlike other CNI implementations where each node is bound to a subnet, in Kube-OVN the Subnet is a global level virtual network configuration, and the addresses of one Subnet can be distributed on any node. +Note: Different subnets under the same VPC cannot contain the same IP, and different subnets connected to each other based on VPC peering or VPN cannot contain the same IP. + ![](../static/default-vpc-topology.png) There are some differences in the usage and configuration of Overlay and Underlay Subnets, diff --git a/docs/guide/subnet.md b/docs/guide/subnet.md index 9c5bb82f5..6fa3a3dda 100644 --- a/docs/guide/subnet.md +++ b/docs/guide/subnet.md @@ -5,6 +5,8 @@ Namespace 下的 Pod 会自动从所属的子网中获取 IP 并共享子网的 和其他 CNI 的每个节点绑定一个子网的实现不同,在 Kube-OVN 中子网为一个全局的虚拟网络配置,同一个子网的地址可以分布在任意一个节点上。 +注意:同一 VPC 下的不同子网不能包含同样的 IP,以及基于 VPC peering 或者 VPN 互相打通的不同子网不能包含同样的 IP。 + ![网络拓扑](../static/default-vpc-topology.png) Overlay 和 Underlay 的子网在使用和配置上存在一些差异,本文档将会介绍不同类型子网的一些共同配置和差异化功能。