How do we modify docker0 mtu in my k8s cluster?

1/2/2020

I want to modify docker0 mtu to 1400 byifconfig docker0 mtu 1400 and it is successed.

but after a while, the mtu goes back to 1500. please help, how to modify docker0 in my k8s cluster.

-- quanwei li
kubernetes

1 Answer

1/2/2020

MTU in Kubernetes can be configured from the CNI plugin.

Here is the documentation for Calico https://docs.projectcalico.org/v3.5/usage/configuration/mtu

-- Tummala Dhanvi
Source: StackOverflow