Skip to content

Commit 40cd9a9

Browse files
committed
Warn louder about wrong MTU.
Signed-off-by: Kurt Garloff <kurt@garloff.de>
1 parent e1c078c commit 40cd9a9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

01-kind-cluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ DOCKERMTU=$(ip link show docker0 | head -n1 | sed 's/^.*mtu \([0-9]*\) .*$/\1/')
77
if test $DOCKERMTU -gt $CLOUDMTU; then
88
echo "WARNING: Consider setting mtu to $((8*($CLOUDMTU/8))) in /etc/docker/daemon.json"
99
echo " and restart docker and do docker network rm kind ..."
10+
echo "If you see ImagePullBackOff and ImagePullErrors, you now know why."
1011
sudo ip link set dev docker0 mtu $((8*($CLOUDMTU/8)))
1112
# Just in case ...
1213
sudo sysctl net.ipv4.tcp_mtu_probing=1

0 commit comments

Comments
 (0)