aboutsummaryrefslogtreecommitdiff
path: root/doc/architecture.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/architecture.md')
-rw-r--r--doc/architecture.md26
1 files changed, 22 insertions, 4 deletions
diff --git a/doc/architecture.md b/doc/architecture.md
index 53032c2..7d36643 100644
--- a/doc/architecture.md
+++ b/doc/architecture.md
@@ -143,13 +143,31 @@ $ nomad operator scheduler get-config --json
### Launching services
+To launch a service, e.g. `app/core`, use `nomad plan` first:
+
+```
+cd cluster/staging/app/core/deploy
+nomad plan core-system.hcl
+```
+
+If the diff looks fine, then you can run the job for real
+(the index is printed in the output of `nomad plan`):
+
+```
+nomad job run -check-index NNN core-system.hcl
+```
+
+There may be several jobs in the same directory, for instance
+`core-system.hcl` and `core-service.hcl`.
+
+### Which services to launch
+
Stuff should be started in this order:
1. `app/core`
-2. `app/frontend`
-3. `app/telemetry`
-4. `app/garage`
-5. `app/directory`
+2. `app/telemetry`
+3. `app/garage`
+4. `app/directory`
Then, other stuff can be started in any order, e.g.: