-
Notifications
You must be signed in to change notification settings - Fork 2
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
Built-in Traefik crashes #1
Comments
@AllardKrings, thanks for the feedback. I will try this out and let you know if it crashes. Can you check whether the |
hello Anthony, issuing kubectl get pod svclb-traefik-82f5b39b-kmvj5 -n kube-system -o yaml gives: apiVersion: v1
The host is running: iptables v1.8.9 (legacy) lsmod gives: Module Size Used by If you need any more info just ask |
If I run: docker run --cap-add SYS_ADMIN -it docker.io/carvicsforth/klipper-lb:v0.4.4 /bin/sh and then issue “iptables” I get: / # iptables So apparently the container default runs in nf-tables mode, the host runs in legacy mode. I am not a netwrok expert but maybe this info helps. |
Hello, I did some more research. I found out that both hosts were running in LEGACY-mode. Switching to NFT-mode resulted in the loadbalancers running fine. Apparently from within the container the softlinks to iptables on the host work fine now. |
Thanks @AllardKrings for figuring this out. I'll update the documentation and link to the issue. |
Hello,
I have installed the kubernetes binary on my 2 riscv-sbc’s. Fantastic that you have built them!
However I have noticed a problem with the built-in traefic.
The traefik pod itself runs fine, however the loadbalancers crash.
kube-system helm-install-traefik-crd-989n8 0/1 Completed 0 127m
kube-system helm-install-traefik-wcfzz 0/1 Completed 2 127m
kube-system traefik-8657d6b9f4-zzbhb 1/1 Running 1 (110m ago) 124m
kube-system coredns-97b598894-gxwfr 1/1 Running 1 (110m ago) 127m
kube-system local-path-provisioner-6d44f4f9d7-2tvz5 1/1 Running 2 (109m ago) 127m
kube-system metrics-server-7c55d89d5d-zmqt8 1/1 Running 2 (109m ago) 127m
kube-system svclb-traefik-c167a2e3-f2wsl 0/2 CrashLoopBackOff 44 (4m52s ago) 93m
When I look in the logs of the containers it says:
[INFO] legacy mode detected
/usr/bin/entry: line 46: iptables: not found
I am running
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=23.10
DISTRIB_CODENAME=mantic
DISTRIB_DESCRIPTION="Ubuntu 23.10"
On 2 Starfive Visionfive SBC’s
Both have the same problem.
Maybe it has nothing to do with the K3S-binaries but with my system-configuration.
I would apprectie some tips/help.
Kind Regards Allard Krings
The text was updated successfully, but these errors were encountered: