...
Code Block | ||
---|---|---|
| ||
# Elevate to a superuser shell sudo su # Create a systemd drop-in to set the Docker MTU mkdir -p /etc/systemd/system/docker.service.d/ bash -c "echo '[Service] Environment=\"DOCKER_OPT_MTU=--mtu=1454\"' > /etc/systemd/system/docker.service.d/10-docker0.conf" # Then reload / restart your Docker daemon systemctl stop docker systemctl daemon-reload systemctl start docker |
...
Code Block | ||
---|---|---|
| ||
ifconfig | grep eth0 | grep -i mtu |
Disable automatic CoreOS update
...
Code Block | ||
---|---|---|
| ||
# NOTE: You would only need to do this if you explicitly delete your kubelet, like this: docker rm -f kubelet # Elevate to a superuser shell sudo su # Delete all leftover pods cd /var/lib/kubelet/pods && rm -rf * exit # This will create a new kubelet, with a new auth token ./kube.sh |
...