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•55m ago
Any resources you'd recommend for the k3s+NixOS setup? Been eyeing the same
darkwater•11m ago
I followed the official NixOS documentation [1] which is... scarce, to say the least.
But it also basically worked just like that.
resetting 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•13m ago
Now 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...
junkaccount•34m ago
why nixos gets to first page?
CuriouslyC•26m ago
Nix is crazy powerful, it can have all my upvotes.
darkwater•1h ago
anttiharju•55m ago
darkwater•11m ago
[1] https://github.com/NixOS/nixpkgs/blob/master/pkgs/applicatio...
clvx•38m ago
darkwater•13m ago