I used to run single node Kubernetes at home, but it's finally time to drop it in favor of NixOS services.
@wilson do you still use containers? or everything on the same host?
@dbrgn so far i'm able to get away with having them all on the same host.
i imagine there will come a time where containers are convenient for some apps, which i plan to use `virtualisation.oci-containers.containers` (ref: https://nixos.wiki/wiki/Podman#Run_Podman_containers_as_systemd_services)
@wilson yeah, I'm also using a few of those. there are also nix containers, but they don't seem to be very mature yet.
the oci containers module is also still missing some functionality, eg abstractions for podman pods.
@dbrgn oh interesting! thanks for the heads up, i’ll keep it in mind if i encounter some sharp edges
@wilson you’re probably also going to see lighter resource usage.
Kubernetes does at lot of work in the background and when I tried to run it I saw a noticeable impact on CPU usage
@mario oh yeah totally expecting that. i had a thought of comparing cpu utilization and all on grafana before starting the migration, but it would mean more work when i just want to enjoy the apps :)
@wilson This made me dig a bit if there is something like Krustlet (WebAssembly on Kubernetes) but for Nix. I found this: https://github.com/pdtpartners/nix-snapshotter. Really interesting project, I'll play around with it a bit.