Kubernetes on nixOS using k3s (Part 1)
k3s is a lightweight kubernetes distribution and works incredibly well. It packages all its dependencies, runs using sqlite in place of etcd (although it can use a number of backends!), and has a much lower memory footprint.
Building the k3s binary from scratch is quite confusing, but since its a static binary, we don’t have to worry about this. We can simply fetch the built binary from github and run it.