-
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
[rootless] svclb-traefik CrashLoopBackOff: /usr/bin/entry: line 6: can't create /proc/sys/net/ipv4/ip_forward: Read-only file system #2420
Comments
The issue is also reproducible with k3s-1.19.1+k3s1 |
A workaround: Theoretically k3s should not need this sudo sysctl. |
Does this issue similar to the CrashLoopBackOff issues on klipper-lb with Calico CNI ? described on k3s-io/klipper-lb#6 and k3s-io/klipper-lb#4 |
Fix k3s-io#2420 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Fix #2420 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Fix k3s-io#2420 Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
I am getting the same issue with single node standard fresh install, x86 DigitalOcean droplet, v1.20.4 I'm not sure if this error is ignorable, considering that I couldn't get the LB / ingress to work (returns 500 server error) but I cannot rule out anything.. |
I have heard other users say that they have been unable to get k3s to work in DO because it is a VPS and does not have sufficient access to load kernel modules or alter sysctls. |
Interesting, especially since using standard droplets is presented here https://rancher.com/blog/2020/k3s-high-availability |
I don't mind paying for managed k3s, but my requirement is to be able to join my own (on-premise) worker nodes. I am not sure what are the options here. |
I joined a bare metal ARM machine (Armbian 20.11.6 Buster) to my DO master to rule out VPS restrictions, and checked the logs on the lb pod (same error for 443 container):
This is clearly an open issue, should I create a new one or? |
If the VPS configuration doesn't allow you to enable IP forwarding or adjust other kernel settings, there's not much we can do about it. These are all prerequisites for running K3s or any Kubernetes distro. The blog post is using |
The droplet is 2 GB Memory / 25 GB Disk / FRA1 - Ubuntu 20.04 (LTS) x64. The fact is, running |
Rootful is off-topic in this issue, I suggest opening another issue for rootful errors. |
Opened #3116 |
Environmental Info:
K3s Version: v1.19.3+k3s1 (974ad30)
Node(s) CPU architecture, OS, and Version: Ubuntu 20.04 (kernel 5.4.0-51-generic), x86_64
Cluster Configuration: single-node rootless
Describe the bug:
svclb-traefik is causing CrashLoopBackOff
Steps To Reproduce:
$ k3s server --rootless
Expected behavior:
Shouldn't cause CrashLoopBackOff
Actual behavior:
CrashLoopBackOff is happening
The text was updated successfully, but these errors were encountered: