Skip to content
Install the CLI

Kix documentation

Kix is a Kubernetes compiler. You define packages and clusters in Nix, evaluate and check the whole cluster locally before touching Kubernetes, preview the package-level plan against live state, and deploy in dependency order.

SectionWhat you will find
TutorialsStep-by-step lessons that build a working local cluster and teach one concept at a time.
How-to guidesFocused recipes for operating clusters, authoring packages, wiring dependencies, adopting existing resources, and running Kix in CI.
ReferenceComplete schema, builder, helper, scorecard, and CLI reference tables.
ExplanationHow the dependency graph, personas, network policy compiler, availability levels, scorecards, and server-side apply work together.

Every documentation page is published as clean Markdown alongside its HTML view:

  • Content negotiation: Send Accept: text/markdown to any /docs/... URL (or append .md to the URL path) to receive the Markdown source directly.
  • Discovery index: Point your coding agent or IDE at /docs/llms.txt for the complete documentation index and GitHub Discussions feedback instructions.

Code examples throughout the documentation are extracted from tested .nix files in kix-examples and kixpkgs, with direct links to the exact source lines:

tutorials/19-scorecards/scorecard.nix
isProxy =
inst:
# Cluster-level rules inspect built instances, so the package
# metadata is under `inst._meta.packageMeta`.
builtins.elem "reverse-proxy" (inst._meta.packageMeta.provides or [ ]);

View source on GitHub ↗