-
Notifications
You must be signed in to change notification settings - Fork 48
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
Add a simple router template #216
Conversation
Cool use case! Thanks for providing the PR. I obviously can't test this setup without the required hardware but the config looks good. Is there a reason you've left |
Thank you — both for considering this PR and for your leadership in charting a bona fide breakthrough for SCALE! 🚀 The I go back and forth on how much to mention Raspberry Pi netbooting, here. I can imagine this becoming a crazy distraction from the support of Jailmaker itself. Whereas a router template to supply LAN infrastructure has many other potential uses. In case it would help your documentation, here are some of the sources I found useful on this external topic:
|
Feel free to add those links to the template readme under additional resources like I did here: https://github.com/Jip-Hop/jailmaker/tree/main/templates/podman#additional-resources |
Good thought. I've added a bit more, and I do have more confidence that this can help avoid a pile-up. |
@jonct do you think you could lend a hand with #86? The GitHub Ubuntu VM which runs the test script of jailmaker doesn't have a bridge networking interface (with a DHCP server) so none of the config templates work out of the box. I think it would be cool if the test script could setup networking in the VM to be more representative/compatible with the jailmaker config templates so overriding the The config template requires a bridge interface called |
Perhaps it's as easy as creating a new
References: https://serverfault.com/questions/867055/accessing-host-services-from-systemd-nspawn-containers and https://github.com/systemd/systemd/blob/main/network/80-container-vz.network |
"Ack." I'll follow up over there. |
I ran into a few chicken-egg surprises while setting this up, and I hope I can spare someone else the trouble.
What
This template helps organize dnsmasq and nftables to provide basic LAN infrastructure to a secondary bridge interface.
Why
My goal is to set loose a herd of Raspberry Pi on a private LAN, as K8s worker nodes.
I'm using the k3s template to anchor my control plane in another jail. (For my purposes this TrueNAS server presents a single point of failure anyway.) But I also need DHCP/DNS/TFTP/routing infrastructure for nodes on this secondary LAN/bridge.
How
Using dnsmasq here helps my headless/diskless Raspberry Pi nodes boot from the network, accessing the iSCSI and NFS services provided by TrueNAS itself.