Kix is a Kubernetes compiler.
https://kix.run โ// momentum
// why it's here
- Created 2 weeks ago and already shipping
- Built almost entirely by one person
- Health 86/100 with only 7 stars
- 17 open issues handled by one or two people
// how to help
// readme
Kix
Kix is a Kubernetes compiler. You define packages and clusters in Nix, check the whole cluster locally before touching Kubernetes, preview changes against the live cluster, and deploy in dependency order.
The output is standard Kubernetes manifests. When one resource references another, Kix records the dependency and uses that graph to order deploys, generate network policies when enabled, run policy checks, and show what a change affects.
Here is a minimal cluster.nix that runs one package on a local kind cluster:
{ kix, packages }:
kix.buildCluster {
modules = [
kix.flavors.kind
{
namespaces = {
tutorial-04 = { };
};
instances.tutorial-04 = {
hello-world = {
package = packages.echo-server;
config = {
message = "Hello from my first Kix cluster!";
};
};
};
}
];
}
Install
Install Kix on Linux (x86_64-linux, aarch64-linux) or Apple silicon macOS (aarch64-darwin):
curl -fsSL https://kix.run/install | sh