dart
Offline Kubernetes and JVM runtime labs on a local two-node QEMU cluster, driven by a shared Rust runner and Tauri desktop app.
- Status
- Prototype
- Form
- Tauri desktop · headless CLI
- Built with
- Rust · Tauri 2 · TypeScript · QEMU
- Tracks
- CKAD (17 labs) · JVM (18 labs)
- Cluster pins
- Kubernetes 1.36.5 · Cilium 1.20.5
- Gate
- 68 Rust · 73 Python · smoke (--ignored)
- Harness
- Claude · Cursor · Antigravity CLI
- Started
- Nov 2026

Overview
DART (Diagnostic and Runtime Training) runs an offline two-node QEMU Kubernetes cluster on the host. Learners open SSH terminals into the control plane and worker, solve CKAD and JVM challenges with real kubectl and jcmd, and grade against live cluster state.
One Rust crate powers both the headless qualification CLI and the Tauri desktop app. Lab content ships as versioned, checksummed packs, with signed JVM packs layering OpenJDK 17 workloads onto the base cluster.
Stack
Lab runner
- Rust + Tokio
- Manages QEMU, QMP, SSH grading, pack verification, and SQLite state for CLI and Tauri.
- QEMU (KVM / WHPX / HVF)
- Two headless guests on a private Ethernet link with restricted SSH management.
- Offline packs
- Pinned kubeadm, Cilium, containerd, and OCI tarballs verified by digest before import.
Desktop shell
- Tauri 2
- Exposes catalog, cluster, and grading operations through narrow typed commands.
- TypeScript + xterm.js
- Overview and workspace views with resizable per-node SSH terminals and live logs.
- SQLite store
- Persists progress, grades, pack revisions, and one serialized attempt per data directory.
Grading
- Objective checks
- Inspects live Kubernetes state and HTTP/TCP probes, separating pending, failed, and environment errors.
- Policy lab verifier
- Verifies Cilium ingress repair across unrestricted, faulted, and fixed phases with JSON evidence.
- Signed track packs
- Unlocks JVM challenges only after verifying manifests and signatures offline.
Engineering highlights
One runner for CLI qualification and desktop
The headless CLI verifies preflight, guest boot, offline cluster formation, and Cilium policy grading. Tauri calls the exact same Rust paths, so desktop flows stay covered by the same smoke and integration tests.
Read the code:README (cluster)desktop runtimeImplementation plan
cargo run --offline --locked -- cluster --prepared --verify-policy-lab$ cargo run --offline --locked -- cluster --prepared --verify-policy-lab \ --image ./lab-packs/noble-prepared-amd64.qcow2 { "accelerator": "whpx", "start_to_ready_ms": 84210, "cluster": { "policy_lab": { "lab": "cilium-web-ingress", "unrestricted": { "approved_client": { "passed": true } }, "before": { "approved_client": { "passed": false, "observed": "timed_out" } }, "after": { "approved_client": { "passed": true, "observed": "reached" } }, "verification_ms": 61250 } } }Sample JSON from the shared cluster verifier used for release qualification. Signed JVM track layered on the same cluster
Eighteen JVM runtime challenges ship in a signed track pack that layers OpenJDK 17 images and diagnostic tools onto the base cluster without duplicating node images. Workspace mode keeps the track sidebar, brief, and live control-plane/worker terminals side by side.
Read the code:jvm_catalog.rsstage_jvm_pack.pypack import

Workspace mode: challenge brief and live SSH terminal inspecting a running OpenJDK 17 pod with jcmd. Live objective grading with actionable evidence
Seventeen CKAD and eighteen JVM labs define per-objective checks evaluated against live cluster state and artifacts. Grading runs without detaching terminals and reports observed vs. expected values plus hints for each failed objective.
Read the code:catalog.rsCKAD challenge tests

Live grading reports pass/fail per objective with observed values and hints while shells stay connected.
Architecture
From pack import to a graded attempt
- PreflightVerify QEMU, accelerator support, and the data-directory lock.
- Start clusterBoot node overlays, import pack OCI images into containerd, and join the private link.
- Select challengeSeed namespaces and fixtures while preserving prior grade history.
- Work in SSHUse real kubectl and shell tools; terminals reconnect across reboots.
- GradeSample Kubernetes state and probes to return per-objective evidence.
- Stop or resetShut down VMs cleanly, reset a namespace, or switch packs.