-
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
k3s can not resolve DNS resolution #6171
Comments
I was also getting DNS timeouts with a fresh install of k3s v1.24.6+k3s1, Ubuntu 22.04.1 LTS, kernel 5.15.0-48-generic, with and without Traefik/CoreDNS. The solution for me was removing docker from the node and rebooting. I also found that I could reinstall docker afterward and DNS was still working, for what that's worth. |
Hi, I found workaround. When installing k3s I used flag flannel-backend=ipsec
By default it uses --flannel-backend=vxlan I've tried --flannel-backend=host-gw |
This repository uses a bot to automatically label issues which have not had any activity (commit/comment/label) for 180 days. This helps us manage the community issues better. If the issue is still relevant, please add a comment to the issue so the bot can remove the label and we know it is still valid. If it is no longer relevant (or possibly fixed in the latest release), the bot will automatically close the issue in 14 days. Thank you for your contributions. |
Environmental Info:
k3s version v1.24.4+k3s1 (c3f830e)
go version go1.18.1
Node(s) CPU architecture, OS, and Version:
Linux ubuntu 4.9.253-tegra #1 SMP PREEMPT Sun Apr 17 02:37:44 PDT 2022 aarch64 aarch64 aarch64 GNU/Linux
Cluster Configuration:
1 server
Describe the bug:
k3s can not resolve DNS resolution
Steps To Reproduce:
curl -sfL https://get.k3s.io | sh -s - server --write-kubeconfig-mode 644 --cluster-init
Check if dns resolutions works as follows
Expected behavior:
Expect to be smth like that:
Actual behavior:
But get:
Additional context / logs:
Check the coredns logs
The text was updated successfully, but these errors were encountered: