@@ -0,0 +1,34 @@
|
||||
apiVersion: lumbridge/v1
|
||||
version: 1
|
||||
|
||||
# GPU-free demo registry: each "model" is just a tiny HTTP server so you can watch
|
||||
# Lumbridge Compute activates scenes, swap models, and run the watchdog on any Linux box.
|
||||
# Run from the repo root: lumbridge-compute --root examples/demo scene activate two
|
||||
|
||||
models:
|
||||
alpha:
|
||||
name: "Demo Alpha (http.server)"
|
||||
footprint_gb: 1
|
||||
health: "http://127.0.0.1:9101/"
|
||||
serve:
|
||||
kind: exec
|
||||
port: 9101
|
||||
command: ["python3", "-m", "http.server", "9101", "--bind", "127.0.0.1"]
|
||||
|
||||
beta:
|
||||
name: "Demo Beta (http.server)"
|
||||
footprint_gb: 1
|
||||
health: "http://127.0.0.1:9102/"
|
||||
serve:
|
||||
kind: exec
|
||||
port: 9102
|
||||
command: ["python3", "-m", "http.server", "9102", "--bind", "127.0.0.1"]
|
||||
|
||||
gamma:
|
||||
name: "Demo Gamma (http.server)"
|
||||
footprint_gb: 1
|
||||
health: "http://127.0.0.1:9103/"
|
||||
serve:
|
||||
kind: exec
|
||||
port: 9103
|
||||
command: ["python3", "-m", "http.server", "9103", "--bind", "127.0.0.1"]
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: lumbridge/v1
|
||||
kind: Scene
|
||||
metadata:
|
||||
name: one
|
||||
version: 1
|
||||
description: "Demo scene one: alpha + beta."
|
||||
models:
|
||||
- alpha
|
||||
- beta
|
||||
activation:
|
||||
order: footprint-asc
|
||||
wait_healthy: true
|
||||
@@ -0,0 +1,12 @@
|
||||
apiVersion: lumbridge/v1
|
||||
kind: Scene
|
||||
metadata:
|
||||
name: two
|
||||
version: 1
|
||||
description: "Demo scene two: beta + gamma (keeps beta, swaps alpha->gamma)."
|
||||
models:
|
||||
- beta
|
||||
- gamma
|
||||
activation:
|
||||
order: footprint-asc
|
||||
wait_healthy: true
|
||||
Reference in New Issue
Block a user