4 ms·
I run K3s on NixOS as the central piece of my homelab and it was actually even too much easy to setup (although now that I think about it there was some gotcha
by darkwater 1y ago
I run K3s on NixOS as the central piece of my homelab and it was actually even too much easy to setup (although now that I think about it there was some gotcha I had to manually tweak in K3s config). This "Kubernetes on NixOS the hard way" seems very interesting and I will have a look at it via the QEMU image at some point. Thanks for sharing!
- anttiharju 1y agoAny resources you'd recommend for the k3s+NixOS setup? Been eyeing the same
- darkwater 1y agoI followed the official NixOS documentation [1] which is... scarce, to say the least. But it also basically worked just like that. [1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/cluster/k3s/README.md https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...
- clvx 1y agoresetting k3s in NixOS is not that straightforward and requires manual input. It cannot be fully automated as removing the statement from your config afaik unless this has changed recently.
- darkwater 1y agoNow I don't recall which issue I had, I think it was something related to CoreDNS config or passing through the /etc/hosts of the NixOS node, but I do remember having to touch the K3s YAML directly, and maybe having issues also persisting it. It's actually the only thing I fear would break if I had to reinstall NixOS from scratch...