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
Copy file name to clipboardExpand all lines: modules/nw-cluster-mtu-change-about.adoc
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ When you initiate an MTU change on your cluster the following effects might impa
29
29
When planning your MTU migration there are two related but distinct MTU values to consider.
30
30
31
31
* *Hardware MTU*: This MTU value is set based on the specifics of your network infrastructure.
32
-
* *Cluster network MTU*: This MTU value is always less than your hardware MTU to account for the cluster network overlay overhead. The specific overhead is determined by your network plugin. For OVN-Kubernetes, the overhead is `100` bytes.
32
+
* *Cluster network MTU*: This MTU value is always less than your hardware MTU to account for the cluster network overlay overhead. The specific overhead is determined by your network plugin. For OVN-Kubernetes, the overhead is `100` bytes. For OpenShift SDN, the overhead is `50` bytes.
33
33
34
34
If your cluster requires different MTU values for different nodes, you must subtract the overhead value for your network plugin from the lowest MTU value that is used by any node 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`.
35
35
@@ -61,7 +61,7 @@ Set the following values in the Cluster Network Operator configuration:
61
61
62
62
- The `mtu.machine.to` must be set to either the new hardware MTU or to the current hardware MTU if the MTU for the hardware is not changing. This value is transient and is used as part of the migration process. Separately, if you specify a hardware MTU that is different from your existing hardware MTU value, you must manually configure the MTU to persist by other means, such as with a machine config, DHCP setting, or a Linux kernel command line.
63
63
- The `mtu.network.from` field must equal the `network.status.clusterNetworkMTU` field, which is the current MTU of the cluster network.
64
-
- The `mtu.network.to` field must be set to the target cluster network MTU and must be lower than the hardware MTU to allow for the overlay overhead of the network plugin. For OVN-Kubernetes, the overhead is `100` bytes.
64
+
- The `mtu.network.to` field must be set to the target cluster network MTU and must be lower than the hardware MTU to allow for the overlay overhead of the network plugin. The overhead for OVN-Kubernetes is `100` bytes and for OpenShift SDN is `50` bytes.
65
65
66
66
If the values provided are valid, the CNO writes out a new temporary configuration with the MTU for the cluster network set to the value of the `mtu.network.to` field.
* You have access to the cluster using an account with `cluster-admin` permissions.
47
-
* You have identified the target MTU for your cluster. The MTU for the OVN-Kubernetes network plugin must be set to `100` less than the lowest hardware MTU value in your cluster.
47
+
* You have identified the target MTU for your cluster.
48
+
** The MTU for the OVN-Kubernetes network plugin must be set to `100` less than the lowest hardware MTU value in your cluster.
49
+
** The MTU for the OpenShift SDN network plugin must be set to `50` less than the lowest hardware MTU value in your cluster.
`<overlay_from>`:: Specifies the current cluster network MTU value.
207
-
`<overlay_to>`:: Specifies the target MTU for the cluster network. This value is set relative to the value of `<machine_to>`. For OVN-Kubernetes, this value must be `100` less than the value of `<machine_to>`.
209
+
`<overlay_to>`:: Specifies the target MTU for the cluster network. This value is set relative to the value of `<machine_to>`. For OVN-Kubernetes, this value must be `100` less than the value of `<machine_to>`. For OpenShift SDN, this value must be `50` less than the value of `<machine_to>`.
208
210
`<machine_to>`:: Specifies the MTU for the primary network interface on the underlying host network.
209
211
--
210
212
+
@@ -347,20 +349,24 @@ where `<config_name>` is the name of the machine config from the `machineconfigu
347
349
If the machine config is successfully deployed, the previous output contains the `/etc/NetworkManager/conf.d/99-<interface>-mtu.conf` file path and the `ExecStart=/usr/local/bin/mtu-migration.sh` line.
. To finalize the MTU migration, enter the following command for the OVN-Kubernetes network plugin:
352
+
. Finalize the MTU migration for your plugin. In both example commands, `<mtu>` specifies the new cluster network MTU that you specified with `<overlay_to>`.
351
353
+
352
-
[source,terminal]
354
+
** To finalize the MTU migration, enter the following command for the OVN-Kubernetes network plugin:
. After finalizing the MTU migration, each machine config pool node is rebooted one by one. You must wait until all the nodes are updated. Check the machine config pool status by entering the following command:
0 commit comments