KubeAi

Demonstrate KubeAI

Real GPU demonstration on Minikube

  1. Start the Minikube lab or restart the existing profile.
  2. Open the cluster dashboard and point out the two healthy vLLM Pods and the active routing policy. Both Pods serve Qwen/Qwen3-0.6B on one RTX 4070 Laptop GPU.
  3. In the host benchmark dashboard, choose Hardware, 4 workers and 30 seconds. Enable local GPU sampling and click Run benchmark. The single endpoint shown here is the cluster router that distributes requests to the Pods.
  4. Open Recorded runs → Inspect to show throughput, time to first token and measured GPU energy. The power measurements cover the physical GPU. Inspect the cluster’s /metrics on 18080 to see request counts for each Pod.

For a capacity demonstration, replay one trace with 1 × 0.40 and 2 × 0.40 on the same GPU. Keep the cluster policy fixed and inspect latency, failures and board energy. To demonstrate routing, keep both Pods ready and change the cluster policy. Shared-GPU capacity procedure · Routing comparison

The progress report records the earlier 1 × 0.75 single-replica baseline and the live two-replica deployment. The controlled capacity comparison and the independent-GPU scale-out study are planned. Current results

Five-minute CPU demonstration

  1. Run python3 -m kubeai demo --output results/release-evaluation. It prints each policy/scenario result and writes the experiment report.
  2. Open results/release-evaluation/REPORT.md. Compare the equal-speed and unequal-speed cases. The supplied run did not show a consistent KubeAI benefit in the equal-speed or mixed-model cases.
  3. Start the two emulators and router using the three terminal commands in the main README, then open http://127.0.0.1:8080. The saved results appear automatically, including nested result directories.
  4. Filter to Emulator and one scenario, then select a matching setup in Recorded provenance mode. The six charts compare policy means and individual-run dots; Show detailed measurements opens the tables. Inspect a run for hashes, outcomes and sampled signals. Different inputs, source/settings or topology stay in separate groups. Synthetic emulator runs have no physical GPU power/energy measurements.
  5. Send a streaming chat request. Watch live reservations and then inspect /metrics or the structured router log for the selected endpoint and score terms.
  6. Change policy in config/local.json, wait for a poll, and send another request. The dashboard shows the active policy. Stop an emulator to demonstrate health filtering; only the remaining healthy model-compatible endpoint receives requests. Restart it to demonstrate recovery.
  7. Run both placement examples from the README. First-fit selects gpu-large; best-fit selects gpu-small, leaving the larger device available. Both satisfy the same capacity/compatibility filters. Remove --at 1000 to show that this historical synthetic inventory is rejected as stale.

The emulator implements request timing and streaming, not a language model or a GPU. Its text, memory, KV-cache and token counts are synthetic. The demonstration establishes reproducible routing behavior and measurement plumbing; hardware performance requires the real vLLM path.

Use docker compose down for the regular Compose stack. The comparison command stops its own servers. Stop terminal-launched router/emulator processes with Ctrl+C. Existing original benchmark files are preserved.