-
Notifications
You must be signed in to change notification settings - Fork 1.8k
(WIP) OSDOCS-13187:Manually setting the MTU value #93116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
@tedaveryredhat: This pull request references OSDOCS-13187 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
🤖 Wed May 07 19:20:19 - Prow CI generated the docs preview: https://93116--ocpdocs-pr.netlify.app/microshift/latest/microshift_networking/microshift-cni.html |
@tedaveryredhat: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
@tedaveryredhat: This pull request references OSDOCS-13187 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
[IMPORTANT] | ||
|
||
==== | ||
When you start {microshift-short} in a virtual machine using OpenShift Virtualization that uses the pod network as the primary interface, the default MTU value is not detected. Therefore, specifying the MTU value manually in `/etc/microshift/ovn.yaml` is required. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I dont see how its related to OpenShift Virtualization,it concerns every environment when the MTU is not the default 1500
, and this behaviour changed in 4.19 -
when MTU is not set in the ovn.yaml we get it from the default route interface.
see openshift/microshift#4315
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would this text need to be revised to "If you do not specify the MTU value in /etc/microshift/ovn.yaml
, then the value from the default route interface is used."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's my suggestion:
The MTU of the OVN overlay networking in MicroShift must be 100 bytes smaller than the MTU of the base network.
If no MTU value is configured, MicroShift auto-configures this using the mtu size of the default gateway (IPV4 or V6) of the host.
In case the auto-configuration does not work correctly, the MTU size can be configured manually. Example: if the MTU size of the network is 9000, the OVN MTU size must be set to 8900.
Version(s):
4.19
Issue:
https://issues.redhat.com/browse/OSDOCS-13187
Link to docs preview:
https://93116--ocpdocs-pr.netlify.app/microshift/latest/microshift_networking/microshift-cni.html
QE review: