|
@@ -154,6 +154,12 @@ per node instead of running it.
|
|
|
|
|
|
|
|
## Recipe format (`recipes/<name>/recipe.toml`)
|
|
## Recipe format (`recipes/<name>/recipe.toml`)
|
|
|
|
|
|
|
|
|
|
+**Port convention: every recipe serves on the cluster default port 30000 —
|
|
|
|
|
+leave the `port` field unset (or `30000`). When adapting a foreign recipe
|
|
|
|
|
+(forum/upstream), always drop or rewrite its `port` to the default — the
|
|
|
|
|
+foreign port (8000/8888/…) is not used on this cluster and breaks the
|
|
|
|
|
+bench/smoke defaults that read the recipe port.**
|
|
|
|
|
+
|
|
|
Recipes and their image build contexts (`docker-images/`) both live here
|
|
Recipes and their image build contexts (`docker-images/`) both live here
|
|
|
and must move together — the served image must match the recipe revision.
|
|
and must move together — the served image must match the recipe revision.
|
|
|
<https://git.kilork.org/sm121/recipes> holds only `sm121 publish` output
|
|
<https://git.kilork.org/sm121/recipes> holds only `sm121 publish` output
|
|
@@ -165,7 +171,7 @@ docker_image = "img:tag"
|
|
|
model = "org/model"
|
|
model = "org/model"
|
|
|
parent_model = "org/base-model" # optional; report category (medals/tree) ranks under the base model
|
|
parent_model = "org/base-model" # optional; report category (medals/tree) ranks under the base model
|
|
|
archived = false # optional; true hides the recipe from `sm121 report` (set via `--archive`)
|
|
archived = false # optional; true hides the recipe from `sm121 report` (set via `--archive`)
|
|
|
-port = 30000 # default
|
|
|
|
|
|
|
+port = 30000 # default — the only port convention on this cluster
|
|
|
required_nodes = 2 # optional; also caps the launch set (N nodes, not all)
|
|
required_nodes = 2 # optional; also caps the launch set (N nodes, not all)
|
|
|
solo = false # optional; single-node on first free node, no dist flags
|
|
solo = false # optional; single-node on first free node, no dist flags
|
|
|
deploy = "docker" # optional; "docker" (default) or "tmux"
|
|
deploy = "docker" # optional; "docker" (default) or "tmux"
|