Skip to content

Commit

Permalink
Add workaround for Kind apiserver delegation issue
Browse files Browse the repository at this point in the history
See #324
  • Loading branch information
antoninbas committed Jan 19, 2020
1 parent 38a62b4 commit 7600b54
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hack/kind-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,6 @@ for node in "$@"; do
peerName=$(docker run --net=host antrea/ethtool:latest ip link | grep ^"$peerIdx": | awk -F[:@] '{ print $2 }' | cut -c 2-)
echo "Disabling TX checksum offload for node $node ($peerName)"
docker run --net=host --privileged antrea/ethtool:latest ethtool -K "$peerName" tx off
# Workaround for https://github.com/vmware-tanzu/antrea/issues/324
docker exec "$node" sysctl -w net.ipv4.tcp_retries2=4
done

0 comments on commit 7600b54

Please sign in to comment.