Sets up single node kubernetes inside the VM that is integrated with containerd + nix-snapshotter.
The integration test can be accessed via nix run .#test-kubernetes and is also run on CI.
Notable changes
The canonical root dir for a snapshotter nix plugin is /var/lib/containerd/io.containerd.snapshotter.v1.nix, this was necessary to get kubernetes to work out of the box if that's the default directory.
Add integration test including running redis nix-snapshotter image on kubernetes
Add modules/nixos/kubernetes-startup.nix to address various upstream startup issues. Its mostly aesthetic as the systemd services will restart until it recovers successful but we get these ugly failure errors during VM boot
Fix #50
Sets up single node kubernetes inside the VM that is integrated with containerd + nix-snapshotter.
The integration test can be accessed via
nix run .#test-kubernetes
and is also run on CI.Notable changes
/var/lib/containerd/io.containerd.snapshotter.v1.nix
, this was necessary to get kubernetes to work out of the box if that's the default directory.modules/nixos/kubernetes-startup.nix
to address various upstream startup issues. Its mostly aesthetic as the systemd services will restart until it recovers successful but we get these ugly failure errors during VM boot