You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=== Description of the connections in the network topology figure
41
-
* The north-south traffic between the network service device `enp1s0` and the OVN external switch `ext_microshift-dev`, is provided through the OVS patch port by the gateway bridge `br-ex`.
41
+
* The north-south traffic between the network service and the OVN external switch `ext_microshift-dev`, is provided through the host kernel by the gateway bridge `br-ex`.
42
42
* The OVN gateway router `GR_microshift-dev` is connected to the external network switch `ext_microshift-dev` through the logical router port 4. Port 4 is attached with the node IP address 192.168.122.14.
43
43
* The join switch `join` connects the OVN gateway router `GR_microshift-dev` to the OVN cluster router `ovn_cluster_router`. The IP address range is 100.62.0.0/16.
44
44
** The OVN gateway router `GR_microshift-dev` connects to the OVN join switch `join` through the logical router port 3. Port 3 attaches with the internal IP address 100.64.0.2.
@@ -112,7 +112,3 @@ OVN-Kubernetes manifests and startup logic are built into {product-title}. The s
112
112
[id="microshift-bridge-mapping_{context}"]
113
113
== Bridge mappings
114
114
Bridge mappings allow provider network traffic to reach the physical network. Traffic leaves the provider network and arrives at the `br-int` bridge. A patch port between `br-int` and `br-ex` then allows the traffic to traverse to and from the provider network and the edge network. Kubernetes pods are connected to the `br-int` bridge through virtual ethernet pair: one end of the virtual ethernet pair is attached to the pod namespace, and the other end is attached to the `br-int` bridge.
You can specify the desired host interface name in the `ovn.yaml` config file as `gatewayInterface`. The specified interface is added in OVS bridge br-ex which acts as gateway bridge for the CNI network.
.Example 'yaml' configuration file with default values
28
-
27
+
.Example 'yaml' configuration file with default maximum transmission unit (MTU) value
28
+
+
29
29
[source,yaml]
30
30
----
31
-
ovsInit:
32
-
disableOVSInit: false
33
-
gatewayInterface: "" <1>
34
31
mtu: 1400
35
32
----
36
-
<1> The default value is an empty string that means "not-specified." The CNI network plugin auto-detects to interface with the default route.
37
33
38
-
. To customize your configuration, use the following table that lists the valid values you can use:
34
+
. To customize your configuration, you can change the MTU value. The table that follows provides details:
39
35
+
40
36
.Supported optional OVN-Kubernetes configurations for {product-title}
41
37
@@ -47,46 +43,21 @@ mtu: 1400
47
43
|Description
48
44
|Example
49
45
50
-
|`ovsInit.disableOVSInit`
51
-
|bool
52
-
|false
53
-
|Skip configuring OVS bridge `br-ex` in `microshift-ovs-init.service`
54
-
|true ^[1]^
55
-
56
-
|`ovsInit.gatewayInterface`
57
-
|Alpha
58
-
|eth0
59
-
|Ingress that is the API gateway
60
-
|eth0
61
-
62
46
|mtu
63
47
|uint32
64
48
|auto
65
49
|MTU value used for the pods
66
50
|1300
67
51
|===
68
52
+
69
-
[.small]
70
-
--
71
-
1. The OVS bridge is required. When `disableOVSInit` is true, OVS bridge `br-ex` must be configured manually.
72
-
+
73
53
[IMPORTANT]
74
54
====
75
55
If you change the `mtu` configuration value in the `ovn.yaml` file, you must restart the host that {product-title} is running on to apply the updated setting.
76
56
====
77
-
--
78
-
57
+
+
79
58
.Example custom `ovn.yaml` configuration file
80
-
59
+
+
81
60
[source, yaml]
82
61
----
83
-
ovsInit:
84
-
disableOVSInit: true
85
-
gatewayInterface: eth0
86
62
mtu: 1300
87
63
----
88
-
89
-
[IMPORTANT]
90
-
====
91
-
When `disableOVSInit` is set to true in the `ovn.yaml` config file, the `br-ex` OVS bridge must be manually configured.
<1> The `patch-br-ex_localhost.localdomain-to-br-int` and `patch-br-int-to-br-ex_localhost.localdomain` are OVS patch ports that connect `br-ex` and `br-int`.
57
-
<2> The pod interfaces `eebee1ce5568761`, `b47b1995ada84f4` and `3031f43d67c167f` are named with the first 15 bits of pod sandbox ID and are plugged in the `br-int` bridge.
58
-
<3> The OVS internal port for hairpin traffic,`ovn-k8s-mp0` is created by the `ovnkube-master` container.
55
+
<2> The `patch-br-ex_localhost.localdomain-to-br-int` and `patch-br-int-to-br-ex_localhost.localdomain` are OVS patch ports that connect `br-ex` and `br-int`.
56
+
<3> The pod interface `eebee1ce5568761` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
57
+
<4> The pod interface `b47b1995ada84f4` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
58
+
<5> The pod interface `3031f43d67c167f` is named with the first 15 bits of the pod sandbox ID and is plugged into the `br-int` bridge.
59
+
<6> The OVS internal port for hairpin traffic,`ovn-k8s-mp0` is created by the `ovnkube-master` container.
0 commit comments