-
Notifications
You must be signed in to change notification settings - Fork 385
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
kube-router is stuck in CrashLoopBackoff #5328
Comments
Update:
The kube-router image already iniclude iptables-wrapper but dose not run installer script during build the image.
I was able to successfully launch kube-router by adding a command to the kub-router daemonset that calls the iptables-wrapper installer before launching kube-router.
So, Running the iptables-wrapper installer script during kube-router image build could fix iptables compatibility issues. |
@maeteem when you run |
Can you maybe try the fixed kube-router image? apiVersion: k0s.k0sproject.io/v1beta1
kind: ClusterConfig
metadata:
name: k0s
namespace: kube-system
spec:
images:
kuberouter:
cni:
image: quay.io/k0sproject/kube-router
version: v2.2.1-iptables1.8.9-1 |
The new v1.31.3+k0s.0 ships the fixed kube-router image by default now. Please ping here if the problem persists. |
Before creating an issue, make sure you've checked the following:
Platform
Version
v1.31.2+k0s.0
Sysinfo
`k0s sysinfo`
What happened?
kube-route is struck in CrashLoopBackOff on Rockey linux 9.5
Steps to reproduce
Expected behavior
The status of the kube-router pod should be Running.
Actual behavior
kube-router status is CrashLoopBackOff
Screenshots and logs
kube-router container log shows iptables v1.8.9 (legacy): Failed to initialize iptables table but kube-proxy rule registered successfully.
Additional context
From Networking document I found that not all components use the same iptables mode.
k0s select nftables mode, kube-proxy also use nftables mode but kube-route use legacy mode.
I guest iptables legacy may not work on Rocky linux 9.5
I replaced the kube-router image with the latest version from docker hub and found that it can run on rocky 9.5 (not sure about the functionality, at least it started and picked up nftables mode).
==== use cloudnativelabs/kube-router latest version from docker hub ====
The text was updated successfully, but these errors were encountered: