Update the MTU inside running containers managed by Cilium
Switch branches/tags
Nothing to show
Clone or download
joestringer Fix docker repository link
Signed-off-by: Joe Stringer <joe@covalent.io>
Latest commit 7d5ecf3 Jul 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vendor
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.rst
endpoint.go
link.go
main.go
mtu-update.yaml
netns.go
route.go

README.rst

Usage

$ ./mtu-update -h
Update the MTU inside network namespaces.

Usage:
  mtu-update [flags]

Flags:
  -h, --help                  help for mtu-update
  -m, --mtu int               Base MTU to configure on links (0 for autodetect) (default 1500)
  -t, --tunnel-overhead int   Expected tunnel overhead for overlay traffic (default 50)
  -v, --verbose               Print verbose debug log messages

Update the MTU across a k8s cluster:

$ kubectl create -f https://raw.githubusercontent.com/cilium/mtu-update/v1.1/mtu-update.yaml
$ kubectl get ds mtu-update -n kube-system
NAME         DESIRED   CURRENT   READY     UP-TO-DATE   AVAILABLE   NODE SELECTOR   AGE
mtu-update   1         1         1         1            1           <none>          18s
(Try again until all pods are ready)
$ kubectl delete -f https://raw.githubusercontent.com/cilium/mtu-update/v1.1/mtu-update.yaml

Contact

If you have any questions feel free to contact us on Slack.

License

This project is licensed under the Apache License, Version 2.0.