-
Notifications
You must be signed in to change notification settings - Fork 28
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 does not start in airgapped set up #622
Comments
Hello! EIB is definitely meant to be used in airgapped environments. It will, however, not assume there's a missing network. One of the main requirements for both k3s and RKE2 is to have a default route set up -- please see https://docs.k3s.io/installation/airgap#default-network-route. There are numerous ways of configuring the network with EIB, please check our official docs to figure out what's the proper approach for your use case. |
@PidgeyBE If you're comfortable with Atanas' answer, can you please close out the issue? |
Definitely! I've been using the information shared by Atanas to try to come to a working setup, but unfortunately I haven't succeeded yet. |
You can follow the custom configuration e.g. something along the lines of:
This will use the "custom network script" functionality of EIB which in turn executes the example from the k3s docs about a dummy route. I haven't tested it but I'd expect this to work. |
Can you show the output of these two:
These are first things to check when there's a failure in the boot process. |
I fixed this by creating
That works. Although, in case a network cable is connected, the |
Hi
When deploying k3s via EIB, k3s will not start if there is no ethernet cable plugged in into the device.
This results in:
When inspecting
journalctl -u k3s
I seelevel=fatal msg="no default routes found in "/proc/net/route" or "/proc/net/ipv6_route"
Am I doing something wrong or is EIB not made to be used in fully airgapped situations?
Even if I install the same ISO on a device with ethernet cable plugged in, I get the same issues on first boot. After rebooting, k3s does start.
BR, Pj
The text was updated successfully, but these errors were encountered: