cybozu-go/coil

MTU auto configuration

Closed this issue · 0 comments

What

It is handy to configure the MTU of veth links automatically.

c.f. https://itnext.io/benchmark-results-of-kubernetes-network-plugins-cni-over-10gbit-s-network-updated-august-2020-6e1b757b9e49

How

In coild,

  1. List all physical Device links with up status: https://pkg.go.dev/github.com/vishvananda/netlink#Device
  2. Choose the minimum MTU among the links
  3. Create veth links with the detected value

Checklist

  • Finish implentation of the issue
  • Test all functions
  • Have enough logs to trace activities
  • Notify developers of necessary actions