// Module included in the following assemblies:
//
// * microshift_networking/microshift-networking.adoc

:_mod-docs-content-type: PROCEDURE
[id="microshift-config-OVN-K_{context}"]
= Creating an OVN-Kubernetes configuration file

[role="_abstract"]
{microshift-short} uses built-in default OVN-Kubernetes values if an OVN-Kubernetes configuration file is not created. To apply custom OVN-Kubernetes values such as pod `mtu` instead of using built-in defaults, you can copy `ovn.yaml.default` to `/etc/microshift/ovn.yaml` and edit the file.

.Procedure

. To create your `ovn.yaml` file, run the following command:
+
[source, yaml]
----
$ sudo cp /etc/microshift/ovn.yaml.default /etc/microshift/ovn.yaml
----

. To list the contents of the configuration file you created, run the following command:
+
[source, yaml]
----
$ cat /etc/microshift/ovn.yaml
----
+
.Example YAML file with default maximum transmission unit (MTU) value
[source,yaml]
----
mtu: 1400
----

. To customize your configuration, you can change the MTU value. The table that follows provides details:
+
.Supported optional OVN-Kubernetes configurations for {microshift-short}
[cols="5",options="header"]
|===
|Field
|Type
|Default
|Description
|Example

|mtu
|uint32
|auto
|MTU value used for the pods
|1300
|===
+
[IMPORTANT]
====
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.
====
+
.Example custom `ovn.yaml` configuration file
[source, yaml]
----
mtu: 1300
----
