Skip to content

5-Minute Local Demo (kind)

This guide walks through a repeatable local demo using kind. In under five minutes you will create a local cluster, install Faber and Proba in Shadow Mode (Observe trust), trigger a synthetic broken deployment incident, inspect the evidence brief and Shadow Scorecard v2, and open Proba.

No production cluster, GitHub token, or paid LLM key is required. When OPENAI_API_KEY is unset, the script deploys a lightweight in-cluster mock LLM (test/e2e/kind/mockllm) so the entire flow runs deterministically offline.

  • Docker (or compatible container runtime)
  • kind
  • kubectl
  • helm v3
  • Go 1.27 (to run faberctl directly from the repo, or a prebuilt faberctl binary on PATH)

From the root of the faber repository:

Terminal window
./scripts/demo-5min-kind.sh

Useful environment overrides:

Variable Default Purpose
KIND_CLUSTER faber-demo Name of the local kind cluster
NAMESPACE faber Namespace where Faber, Proba, and demo CRs run
DEMO_APP_NS demo-app Namespace where the synthetic broken Deployment is created
SKIP_IMAGE_BUILD false Set true if faber-controller:demo and proba:demo are already built and loaded
KEEP_CLUSTER true Set false to delete the kind cluster automatically on exit
  1. Creates a local kind cluster (faber-demo) and builds plus loads faber-controller:demo and proba:demo (plus mockllm:demo when running offline).
  2. Installs the local Helm chart (charts/faber) in Shadow Mode with proba.enabled=true and agentSandbox.enabled=false (Tier 0 read-only mode).
  3. Waits for readiness with faberctl status --wait and validates cluster setup with faberctl doctor.
  4. Applies a Connector, Playbook, and Automation in Observe trust:
    • The Playbook watches degraded Deployments in namespace demo-app and runs in strictly read-only Observe mode.
    • Zero cluster mutations are performed.
  5. Triggers a synthetic broken Deployment (demo-app/checkout-api with a nonexistent image tag causing ImagePullBackOff).
  6. Triggers an investigation run and waits for completion, then prints:
    • The run summary and evidence brief (faberctl runs get <id>)
    • The 7-day Shadow Scorecard v2 in text and Markdown (faberctl scorecard --days 7 and -o markdown)
    • The command to open the Proba web console (faberctl proba --namespace faber)

After the script finishes, open Proba locally:

Terminal window
faberctl proba --namespace faber

Then browse:

  • Runs: Inspect the completed Shadow Mode run, its Observe trust decision, and its evidence summary.
  • Scorecard: View verified precision, median time to brief, $0 pre-check skip rate, model spend, and estimated savings vs the $4.00/run SaaS benchmark. Click Export Markdown to download the 7-day executive report.
  • Catalog: Browse Catalog v2 packs across Playbooks, Connectors, Signatures, and Validators.

Delete the local kind cluster when finished:

Terminal window
kind delete cluster --name faber-demo