-
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
ubuntu 18.04 iptables errors #116
Comments
What's the difference between the two? I would start with |
I can post some output later. But I guess there is not much difference. The base system was installed at the same time. The first node is installed using this command:
The second node was installed manually according to the docs. |
ok here is some debug output virtnuc1
virtnuc2
|
I think there is a problem with the k3s agent mode. If I run k3s in server mode on virtnuc2 everything looks just fine:
Is there a known issue running k3s agent using ubuntu 18.04? |
I'm seeing the same iptables issue on my node (just on the node)
|
I'm also seeing this on Fedora IoT 29 running on RPi 3B+. Both are fine running as servers but fail as agents.
The attached logs show one node first running as agent with quite a lot of problems, then after a reboot I start it as server instead and everything works well. I could add that everything seems fine for me at first. The agent joins the cluster successfully and shows up as ready. But when I try to add a pod (scheduled on the agent node) it fails. The pod stays in
|
k3s v 0.2 suffers from the same problem. |
It looks like containerd never starts up @lentzi90, is it possible to run with --debug and share containerd logs? |
I'm attaching debug logs of the k3s-agent.
|
It looks like even commands like |
I see this on RPI/Raspbian devices too, on the agent side. What is the latest update on the subject? |
Please check the output of |
On my RPI/Raspbian devices:
Just like you expected! Thanks for the info. |
I have a debian Buster installation and I see no iptable rules at all. |
For me it works correctly if I follow erikwilson's advice and switch into legacy:
It's also documented over at the Kubernetes docs. |
@psy-q Ubuntu 18.04 doesn't provide those alternatives for iptables. If you are using Ubuntu 18.04, how did you get to the point to have |
I'm running Debian, I guess Ubuntu 18.04 doesn't have a new enough version of iptables to also have the legacy mode available (?). According to the Kubernetes docs, Ubuntu 19.04 should have it. But newer versions of Kubernetes (after 1.17) shouldn't require this legacy mode since they implement the newer nftables APIs directly AFAIK. |
Closing due to age. Should be resolved on newer releases. |
I'm hitting this in Jan 2021 with a new install of k3s "stable" on a Rpi running "buster". Then tried "latest" - same issue.
|
I have tried to build a two node ubuntu 18.04 setup. The server is running on virtnuc1, the agent is running on virtnuc2:
Describe the bug
There are a lot of iptalbes errors on the virtnuc2 node:
Expected behavior
The second node should run like the first node without iptables errors. I am not sure if the other errors are related....
The text was updated successfully, but these errors were encountered: