2021-04-20 21:31:37 +00:00
|
|
|
@startuml
|
|
|
|
hide empty description
|
|
|
|
|
2023-08-05 21:53:17 +00:00
|
|
|
state "./isle daemon -c ./daemon.yml" as init
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
state AppDir {
|
|
|
|
|
|
|
|
note "All relative paths are relative to the root of the AppDir" as N1
|
|
|
|
|
|
|
|
state "./AppRun" as AppRun {
|
|
|
|
AppRun : * Set PATH to APPDIR/bin
|
|
|
|
}
|
|
|
|
|
2022-10-29 22:38:26 +00:00
|
|
|
state "./bin/entrypoint daemon -c ./daemon.yml" as entrypoint {
|
2021-04-20 21:31:37 +00:00
|
|
|
entrypoint : * Create runtime dir at $_RUNTIME_DIR_PATH
|
|
|
|
entrypoint : * Lock runtime dir
|
2022-10-16 13:52:15 +00:00
|
|
|
entrypoint : * Merge given and default daemon.yml files
|
2024-06-10 16:56:36 +00:00
|
|
|
entrypoint : * Copy bootstrap.json into $_DATA_DIR_PATH, if it's not there
|
|
|
|
entrypoint : * Merge daemon.yml config into bootstrap.json
|
2022-10-29 22:38:26 +00:00
|
|
|
entrypoint : * Create $_RUNTIME_DIR_PATH/dnsmasq.conf
|
|
|
|
entrypoint : * Create $_RUNTIME_DIR_PATH/nebula.yml
|
2022-10-16 18:33:31 +00:00
|
|
|
entrypoint : * Create $_RUNTIME_DIR_PATH/garage-N.toml\n (one per storage allocation)
|
2021-04-20 21:31:37 +00:00
|
|
|
entrypoint : * Run child processes
|
2022-10-29 22:38:26 +00:00
|
|
|
entrypoint : * (in the background) Updates garage cluster layout
|
|
|
|
entrypoint : * (in the background) Stores host info in global bucket
|
2021-04-20 21:31:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
init --> AppRun : exec
|
|
|
|
AppRun --> entrypoint : exec
|
|
|
|
|
|
|
|
state "./bin/dnsmasq -d -C $_RUNTIME_DIR_PATH/dnsmasq.conf" as dnsmasq
|
2022-10-29 22:38:26 +00:00
|
|
|
entrypoint --> dnsmasq : child
|
2021-04-20 21:31:37 +00:00
|
|
|
|
|
|
|
state "./bin/nebula -config $_RUNTIME_DIR_PATH/nebula.yml" as nebula
|
2022-10-29 22:38:26 +00:00
|
|
|
entrypoint --> nebula : child
|
2021-04-20 21:31:37 +00:00
|
|
|
|
2022-10-29 22:38:26 +00:00
|
|
|
state "./bin/garage -c $_RUNTIME_DIR_PATH/garage-N.toml server" as garage
|
2022-10-16 18:33:31 +00:00
|
|
|
entrypoint --> garage : child (one per storage allocation)
|
2021-04-20 21:31:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@enduml
|