-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TCP establishment timeouts #2017
Comments
Upstream kubernetes just released a fix for a long-standing issue that triggered a kernel bug when using vxlan. I suspect this is root cause for your problem. This fix has been backported and is available in the most recent k3s releases of 1.16, 1.17, and 1.18. Can you try updating and see if things work better? See: #2013 |
@brandond I just installed the newest version |
Hmm, from the message it's hard to tell if it's a timeout or DNS failure or both. What is your node using for its DNS server? |
$ cat /etc/resolv.conf
search infrastructure.svc.cluster.local svc.cluster.local cluster.local
nameserver 10.43.0.10
options ndots:5 |
Not in the container, on the node. |
Sorry, Direct name server of our colocation provider: $ cat /etc/resolv.conf
nameserver 195.135.195.135
nameserver 195.8.195.8 |
My job failed at a other position, hope it might help:
|
I notices other services having difficulties communicating:
|
@brandond can I provide you with more information? |
It seems that it is package related within the DockerInDocker environment: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/25380#note_393553417
They also make a suggestion:
To me the iptables sounds like a good option that K3S might inject? |
I'm too experiencing this problem. Another user reported that switching to Cilium resolved their issue. EDIT: setting the MTU fixed the problem |
I believe this should now be resolved upstream. |
FYI, specifically fir Gitlb runners you can solve it like this: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/25380#note_456368774 |
Environmental Info:
K3s Version: v1.18.4+k3s1 (97b7a0e)
Node(s) CPU architecture, OS, and Version: Debian Buster 64bits
Linux k00 4.19.0-8-amd64 #1 SMP Debian 4.19.98-1 (2020-01-26) x86_64 GNU/Linux
Cluster Configuration: 1 master, 3 workers
Describe the bug:
When running Gitlab runners on the K3s cluster I experience timeouts. See a full report here: https://gitlab.com/gitlab-org/gitlab-runner/-/issues/25380
Steps To Reproduce:
Expected behavior:
The docker image build process is running successfully.
Actual behavior:
The docker image build process crashes due to TCP connection establishment fail or unknown DNS host error.
Additional context / logs:
The text was updated successfully, but these errors were encountered: