From 0ccd29f7eb17c7be83c782f05096aba3ab3e46b4 Mon Sep 17 00:00:00 2001 From: ci-bot Date: Tue, 8 Aug 2023 06:00:53 +0000 Subject: [PATCH] Deployed 9f3dddd4 to v1.12.x with MkDocs 1.5.2 and mike 1.1.2 --- v1.12.x/advance/ovn-eip-fip-snat/index.html | 16 ++++++++-------- .../ovn-l3-ha-based-ecmp-with-bfd/index.html | 10 +++++----- .../en/advance/ovn-eip-fip-snat/index.html | 17 +++++++++-------- .../ovn-l3-ha-based-ecmp-with-bfd/index.html | 10 +++++----- v1.12.x/search/search_index.json | 2 +- v1.12.x/sitemap.xml.gz | Bin 1541 -> 1541 bytes .../zh/advance/ovn-eip-fip-snat/index.html | 16 ++++++++-------- .../ovn-l3-ha-based-ecmp-with-bfd/index.html | 10 +++++----- versions.json | 2 +- 9 files changed, 42 insertions(+), 41 deletions(-) diff --git a/v1.12.x/advance/ovn-eip-fip-snat/index.html b/v1.12.x/advance/ovn-eip-fip-snat/index.html index 3c7801f4e..7a86440fb 100644 --- a/v1.12.x/advance/ovn-eip-fip-snat/index.html +++ b/v1.12.x/advance/ovn-eip-fip-snat/index.html @@ -21,7 +21,7 @@ - --external-gateway-switch=external204 ### 以上配置都和下面的公网网络配置 vlan id 和资源名保持一致,目前仅支持指定一个 underlay 公网作为默认外部公网。 -

该配置项的设计和使用主要考虑了如下因素:

1.1 准备 underlay 公网网络

# 准备 provider-network, vlan, subnet
+

该配置项的设计和使用主要考虑了如下因素:

1.1 准备 underlay 公网网络

# 准备 provider-network, vlan, subnet
 # cat 01-provider-network.yaml
 apiVersion: kubeovn.io/v1
 kind: ProviderNetwork
@@ -120,14 +120,14 @@
 Route Table <main>:
                 0.0.0.0/0              10.5.204.254 dst-ip
 # 目前该路由已自动维护
-

2. ovn-eip

该功能和 iptables-eip 设计和使用方式基本一致,ovn-eip 目前有三种 type

---
+

2. ovn-eip

该功能和 iptables-eip 设计和使用方式基本一致,ovn-eip 目前有三种 type

---
 kind: OvnEip
 apiVersion: kubeovn.io/v1
 metadata:
   name: eip-static
 spec:
   externalSubnet: external204
-  type: fip
+  type: nat
 
 # 动态分配一个 eip 资源,该资源预留用于 fip 场景
 

2.1 ovn-fip 为 pod 绑定一个 fip

# k get po -o wide -n vpc1 vpc-1-busybox01
@@ -146,7 +146,7 @@
   name: eip-static
 spec:
   externalSubnet: external204
-  type: fip
+  type: nat
 
 ---
 kind: OvnFip
@@ -207,7 +207,7 @@
   name: eip-for-vip
 spec:
   externalSubnet: external204
-  type: fip
+  type: nat
 
 ---
 kind: OvnFip
@@ -268,7 +268,7 @@
   name: snat-for-subnet-in-vpc
 spec:
   externalSubnet: external204
-  type: snat
+  type: nat
 
 ---
 kind: OvnSnatRule
@@ -286,7 +286,7 @@
   name: snat-for-pod-vpc-ip
 spec:
   externalSubnet: external204
-  type: snat
+  type: nat
 
 ---
 kind: OvnSnatRule
@@ -417,7 +417,7 @@
 # kubectl get odnat eip-dnat 
 NAME       EIP        PROTOCOL   V4EIP       V4IP          INTERNALPORT   EXTERNALPORT   IPNAME          READY
 eip-dnat   eip-dnat   tcp        10.5.49.4   192.168.0.4   22             22             test-dnat-vip   true
-

微信群 Slack Twitter Support


最后更新: 2023年8月3日
创建日期: 2023年3月3日

评论