Kubernix is a Container Runtime Interface (CRI) implementation that allows you to orchestrate native NixOS containers with Kubernetes, without depending on any other containerizer technology.
warning: It's just a proof of concept for now! Don't use it for anything serious
- Because we use
nix-shellmagic, there is no need to create a$GOPATH/src/github.com/moreteadirectory. - Clone the repository
git clone [email protected]:moretea/kubernix.git
- Enter a
nix-shell. - Get the dependencies by running
dep ensure
- I've made an easy
buildalias available in thenix-shell.
- Run the
kubernixbinary. It will open a UNIX socket on /tmp/kubernix.sock. - Use the cri-tools that are made available in the nix-shell to play with kubernix.
The
CRI_RUNTIME_ENDPOINTenvironmental variable points to the/tmp/kubernets.sockUNIX socket, so thecri-toolscan be used without passing any configuration paramaters. - Alternatively, run one (or all) of the tests in the tests directory.
Nope, it doesn't work yet!
