Skip to content

moretea/kubernix

Repository files navigation

Kubernix Logo

Kubernix

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

Development

Preparation

  1. Because we use nix-shell magic, there is no need to create a $GOPATH/src/github.com/moretea directory.
  2. Clone the repository
  git clone git@github.com:moretea/kubernix.git
  1. Enter a nix-shell.
  2. Get the dependencies by running
  dep ensure
  1. I've made an easy build alias available in the nix-shell.

Playing around

  • Run the kubernix binary. 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_ENDPOINT environmental variable points to the /tmp/kubernets.sock UNIX socket, so the cri-tools can be used without passing any configuration paramaters.
  • Alternatively, run one (or all) of the tests in the tests directory.

Demo

Nope, it doesn't work yet!

About

CRI implementation for Nix packages

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published