Skip to content

Commit d6f577a

Browse files
authored
Merge pull request #29016 from danwinship/mtu
Clarify that you should almost never manually override the MTU
2 parents fa71cf9 + 0c31326 commit d6f577a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

modules/nw-operator-cr.adoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,11 @@ configuration.
128128
are `Multitenant`, `Subnet`, or `NetworkPolicy`. The default value is
129129
`NetworkPolicy`.
130130

131-
<4> The maximum transmission unit (MTU) for the VXLAN overlay network. This
132-
value is normally configured automatically, but if the nodes in your cluster do
133-
not all use the same MTU, then you must set this explicitly to 50 less than the
134-
smallest node MTU value.
131+
<4> The maximum transmission unit (MTU) for the VXLAN overlay network. This is detected automatically based on the MTU of the primary network interface. You do not normally need to override the detected MTU.
132+
+
133+
If the auto-detected value is not what you expected it to be, confirm that the MTU on the primary network interface on your nodes is correct. You cannot use this option to change the MTU value of the primary network interface on the nodes.
134+
+
135+
If your cluster requires different MTU values for different nodes, you must set this value to `50` less than the lowest MTU value in your cluster. For example, if some nodes in your cluster have an MTU of `9001`, and some have an MTU of `1500`, you must set this value to `1450`.
135136

136137
<5> The port to use for all VXLAN packets. The default value is `4789`. If you
137138
are running in a virtualized environment with existing nodes that are part of
@@ -200,10 +201,11 @@ ifdef::operator[]
200201
endif::operator[]
201202

202203
ifndef::operator[]
203-
<3> The MTU for the Geneve (Generic Network Virtualization Encapsulation)
204-
overlay network. This value is normally configured automatically, but if the
205-
nodes in your cluster do not all use the same MTU, then you must set this
206-
explicitly to 100 less than the smallest node MTU value.
204+
<3> The maximum transmission unit (MTU) for the Geneve (Generic Network Virtualization Encapsulation) overlay network. This is detected automatically based on the MTU of the primary network interface. You do not normally need to override the detected MTU.
205+
+
206+
If the auto-detected value is not what you expected it to be, confirm that the MTU on the primary network interface on your nodes is correct. You cannot use this option to change the MTU value of the primary network interface on the nodes.
207+
+
208+
If your cluster requires different MTU values for different nodes, you must set this value to `100` less than the lowest MTU value in your cluster. For example, if some nodes in your cluster have an MTU of `9001`, and some have an MTU of `1500`, you must set this value to `1400`.
207209
endif::operator[]
208210

209211
ifdef::operator[]

0 commit comments

Comments
 (0)