The guide

What kith does and how to run it, one page for each part. Each is a markdown file in the repository; these are the same words.

  1. kith OS: kithd as the machine's first process

    On a kith OS machine there is the kernel and kithd, nothing else: no systemd, no shell.

  2. A cluster

    A node that holds the CA and listens on every address (--listen 0.0.0.0:7443, or a restart with no --listen) must say where others reach it, --advertise 192.168.1.10:7443, or kithd refuses to start....

    More than one node Restarting a node on purpose When every node was off A node away from its cluster DNS

  3. What kithd does today

    kithd keeps the store and runs what the resources say: containers, host processes, Jobs and CronJobs. kith talks to it over a unix socket only you can open. A second kithd on one state directory is refused.

  4. Storage

    A mount with perReplica: true names the base of a claim, and replica i mounts the claim (or Volume) <volume>-<i>: the claim of a StatefulSet's volumeClaimTemplates, which the Kubernetes layer makes...

  5. Hardware

    Every node lists its own hardware from /sys and keeps one Device per piece in the store, applied when it turns up and deleted when it is gone (a rescan every half minute): kith get device lists them....

  6. Packages and Sources

    A cluster installs a package itself: push the package, apply a Release.

    Packages Sources (GitOps)

  7. Access: who may do what, and what a node refuses

    On a node, whoever can open kithd's socket is the admin: kith there may do everything. From anywhere else, a person or a program calls a node's TLS port (--listen) as an Identity, with a certificate...

    Who may do what Use kith from a laptop Let a person's phone in Signed writes: spec.signing: required and open What a node refuses, whatever the cluster says

  8. Resources and the language

    From kith 1.0, a kith.dev/v1 file that 1.0 takes is taken by every later build.

    kith.dev/v1 is stable kith's own language Kinds of your own

  9. Coming from Kubernetes, Helm, Proxmox or compose

    kithd answers the Kubernetes API on its own port (/api and /apis beside /v1), so kubectl and helm (3 and 4) work against a kith cluster with the manifests and charts you already have, nothing...

    kubectl and Helm, as they are Importing from Kubernetes and Helm Coming from Proxmox or docker compose The docker command, against kith

  10. Web UI

    Every node serves a page that shows the cluster and changes it: what is running where, a form for every kind (drawn from its schema, your own kinds included), the YAML beside it, status, history with...

  11. Working on kith

    The workspace's tests can run on a kith cluster instead, spread over all its nodes, from a commit that is not pushed: KITH_REMOTE=ADDR KITH_REMOTE_CREDS=DIR sh ci/remote.sh --fan [COMMIT [CARGO TEST...

    Layout Development

  12. How the numbers beside k3s were taken

    The tables in the README's Beside k3s come from one script, sh ci/compare.sh. It starts the same three machines twice (QEMU with KVM, 2 CPUs and 2048 MB each, on a network of their own): as three...

    The numbers, drawn What each row is What it does not say The compose stack beside docker

Decisions and reviews

Why a part is the way it is: what was asked, what was chosen, what was left out.

  1. Encrypting a node's state in place: the journal and the order of writes

    A node installed without encrypt: true has its state plain on the state partition. To encrypt it with no reinstall, every byte of the partition is read and written back through a dm-crypt mapping of...

  2. A FIDO2 key as a way into a node's state

    What it is for: a person at a node's console (a screen and keyboard, or a serial line) opens the node's encrypted state by touching a security key, as they would by typing a passphrase. The ways into...

  3. Decision: image signatures made without a kept key (T-0463)

    cosign sign IMAGE with no key, which is cosign's default, signs with a key it throws away. An authority (Fulcio) gives that key a certificate of ten minutes that names who asked for it: an issuer...

  4. People's devices into the home network: peers, levels and where a level holds

    The owner wants WireGuard into their home for phones and laptops that are not nodes: "into my network but not necessarily the cluster", with "different levels, like guest, family, admin", usable from...

  5. kithd in two parts: what reads the network holds no root

    The carve of the rest, one task each: T-0808 pods and Services behind Root, with a counter of crossings; T-0809 mesh (done: MeshUp, Mesh, MeshSeen and MeshDown, in process, each checked and counted)...

  6. A second disk for a node's data, under the state's key

    A name first. the OS guide calls the installer's target "a second disk for the node" (the "As a guest on Proxmox VE" section). That is a disk kith OS is written to. This record is about a data disk...

  7. A taken control node is not the cluster taken

    SECURITY.md says it plainly: a control node that is taken is the cluster taken. Whoever has root on one control node holds its node certificate and key. With them they can name the local socket to...

  8. The ways into a node's encrypted state, and what each leaves open

    A kith OS node installed with encrypt: true keeps its state partition under dm-crypt. kithd, as process 1, opens it before anything is mounted (crates/kithd/src/crypt.rs), with a key it gets one of...

  9. A worker keeps no Secret that nothing placed on it names

    Every node of a cluster keeps the whole store: every Secret of every namespace. A node that only receives the store (a worker, spec.trust: worker) is sent the same log as one that votes. And the node...

  10. Security review 2: what the 1.0 review left out

    Read on 2026-11-16, at main 0f81e83, by six independent read-only reviewers (one per area, adversary lens, whole files rather than a diff). Each finding below was checked against the code at its line...