Skip to content

Preview every change before you deploy.

Check your cluster locally, review changes on pull requests, deploy in dependency order, and record a receipt on the cluster.

  1. kix check
  2. Pull request
  3. kix diff / plan
  4. Merge
  5. kix deploy
  6. Receipt
$ kix diff shop12 packages: 9 unchanged, 2 changed, 1 added, 0 removed  monitoring    ~ grafana 11.2.0 (1 changed, 1 dep-affected)      ~ Deployment/grafana@monitoring          ~ $.spec.replicas:              old: 1              new: 2      ~ PackageInstance/grafana@monitoring (via dependency)  shop    + valkey 8.0.2 (4 resources)    ~ web 1.4.2 -> 1.5.0 (1 changed, 2 dep-affected)      ~ Deployment/web@shop          ~ $.spec.template.spec.containers[web].image:              old: "ghcr.io/acme/web:1.4.2"              new: "ghcr.io/acme/web:1.5.0"      ~ HorizontalPodAutoscaler/web@shop (via dependency)      ~ PackageInstance/web@shop (via dependency)  Activation: shop-ll6g0k5f2kqm -> shop-6w9czkc51502

Review changes locally and on pull requests

Before deploying, kix diff compares your build against the cluster and groups every change by namespace and package, highlighting the exact fields that changed.

In CI, kix diff -o markdown outputs the summary as Markdown so your pipeline can post it to the pull request. For example:

ci-bot commented on pull request #214

kix diff

Plan: 2 updated, 1 added, 0 removed, 9 unchanged Resources: 2 with real content changes, 3 dep-affected (hash bump only)

Added packages

  • shop/valkey 8.0.2 (4 resources)

Changed packages

  • monitoring/grafana 11.2.0 (1 changed, 1 dep-affected)
  • shop/web 1.4.2 → 1.5.0 (1 changed, 2 dep-affected)

Activation: shop-ll6g0k5f2kqm to shop-6w9czkc51502

Roll out in dependency order from CI or your laptop.

Because the cluster definition and image pins live in Git, you can run kix deploy from your laptop or any CI pipeline. Kix applies resources in dependency order and waits for each dependency to report ready before starting the next.

An optional in-cluster operator is in development.

  1. step 1 Secret/dbConfigMap/web
  2. step 2 Cluster/dbDeployment/valkey
  3. step 3 Service/webDeployment/web
  4. step 4 HTTPRoute/web
kix plan
Runs the deploy as a server-side dry run to surface webhook rejections, field ownership conflicts, and stateful resource replacements before applying.
kix drift
Reports Kix-managed resources whose applied fields changed on the live cluster since the last deploy, and which field manager changed them.
--prune
Removes resources no longer defined in your cluster, except Namespaces and CRDs. Without --prune, the plan lists orphans and leaves them in place.
kix snapshot
Saves the Kix-managed resources of a live cluster to disk, so kix diff --from can compare against a point-in-time snapshot later.

Deployment receipts & audit evidence

Kix records a receipt for each deployment on the cluster, so you can trace what is running back to the inputs and images that produced it.

  • during an incident

    “What changed since yesterday?”

    Each receipt records the commit, whether the working tree was clean, the tool versions, and the container images.

  • during a release

    “Did the new build actually go out?”

    Image versions and digests live in a committed file, which lets you trace a release to a commit. kix pin check --source-rev fails when a pinned image was built from a different commit.

  • during a rollback

    “Put back exactly what ran on Tuesday.”

    kix rollback reapplies a previous deployment from Kix's local store, and kix gc retains at least the 10 newest deployment records.

  • during an audit

    “Show me evidence.”

    kix compliance produces a CycloneDX SBOM, an unsigned SLSA provenance statement, and an audit bundle mapped to SOC 2, ISO 27001, DORA, or NIS2. An auditor can use these artifacts as evidence when assessing compliance.

KIX DEPLOY RECEIPT kix.run/receipt/v1

cluster
shop
activation
shop-6w9czkc51502
deployed
2026-09-09 10:47
commit
700ab95
working tree
clean
kix
0.1.0

IMAGES

ghcr.io/acme/web:1.5.0 @sha256:4a8e91c0…

ghcr.io/valkey-io/valkey:8.0.2 @sha256:7377697a…


Stored on the cluster after each deploy. Manifests stay out of the receipt because they can contain secrets.

Compile your first cluster.

Install Kix, compile an example, and review the plan before deploying.

curl -fsSL https://kix.run/install | sh
Setup guide Read the docs