Match iuclabs-dind docker MTU to the pod network (#620)
Job containers on iuclabs-dind get TLS connection resets (e.g. actions/checkout to github.com) because dockerd defaults its bridges to MTU 1500 while the canal vxlan pod network is 1450. - set dockerd `--mtu=1450` - default new bridge networks (the runner's job network) to MTU 1450 Reviewed-on: #620 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
This commit was merged in pull request #620.
This commit is contained in:
@@ -66,6 +66,9 @@ spec:
|
||||
- dockerd
|
||||
- --host=unix:///var/run/docker.sock
|
||||
- --group=$(DOCKER_GROUP_GID)
|
||||
# match the canal vxlan veth MTU; 1500 resets TLS from job containers
|
||||
- --mtu=1450
|
||||
- --default-network-opt=bridge=com.docker.network.driver.mtu=1450
|
||||
env:
|
||||
- name: DOCKER_GROUP_GID
|
||||
value: "123"
|
||||
|
||||
Reference in New Issue
Block a user