Update daemon process tree diagram
This commit is contained in:
parent
93bdd3ebd4
commit
cf52cbff52
@ -11,10 +11,12 @@ state AppDir {
|
||||
AppRun : * Set PATH to APPDIR/bin
|
||||
}
|
||||
|
||||
state "./bin/entrypoint" as entrypoint {
|
||||
entrypoint : * Merge given and default daemon.yml files
|
||||
state "./bin/cryptic-net-main entrypoint daemon -c ./daemon.yml" as entrypoint {
|
||||
entrypoint : * Create runtime dir at $_RUNTIME_DIR_PATH
|
||||
entrypoint : * Lock runtime dir
|
||||
entrypoint : * Merge given and default daemon.yml files
|
||||
entrypoint : * Copy bootstrap.tgz into $_DATA_DIR_PATH, if it's not there
|
||||
entrypoint : * Merge daemon.yml config into bootstrap.tgz
|
||||
entrypoint : * Run child processes
|
||||
}
|
||||
|
||||
@ -30,39 +32,36 @@ state AppDir {
|
||||
entrypoint --> dnsmasqEntrypoint : child
|
||||
dnsmasqEntrypoint --> dnsmasq : exec
|
||||
|
||||
state "./bin/nebula-entrypoint" as nebulaEntrypoint {
|
||||
state "./bin/cryptic-net-main nebula-entrypoint" as nebulaEntrypoint {
|
||||
nebulaEntrypoint : * Create $_RUNTIME_DIR_PATH/nebula.yml
|
||||
}
|
||||
|
||||
state "./bin/nebula -config $_RUNTIME_DIR_PATH/nebula.yml" as nebula
|
||||
state "./bin/nebula-update-global-bucket" as nebulaUpdateGlobalBucket {
|
||||
nebulaUpdateGlobalBucket : * Runs once then exits
|
||||
nebulaUpdateGlobalBucket : * Updates network topo data in garage global bucket (used for bootstrapping)
|
||||
}
|
||||
|
||||
entrypoint --> nebulaEntrypoint : child
|
||||
nebulaEntrypoint --> nebula : exec
|
||||
nebulaEntrypoint --> nebulaUpdateGlobalBucket : child
|
||||
|
||||
state "./bin/garage-entrypoint" as garageEntrypoint {
|
||||
state "./bin/cryptic-net-main garage-entrypoint" as garageEntrypoint {
|
||||
garageEntrypoint : * Create $_RUNTIME_DIR_PATH/garage-N.toml\n (one per storage allocation)
|
||||
garageEntrypoint : * Run child processes
|
||||
}
|
||||
|
||||
state "./bin/garage -c $_RUNTIME_DIR_PATH/garage-N.toml server" as garage
|
||||
state "./bin/garage-apply-layout-diff" as garageApplyLayoutDiff {
|
||||
state "./bin/cryptic-net-main garage-apply-layout-diff" as garageApplyLayoutDiff {
|
||||
garageApplyLayoutDiff : * Runs once then exits
|
||||
garageApplyLayoutDiff : * Updates cluster topo
|
||||
}
|
||||
state "./bin/garage-update-global-bucket" as garageUpdateGlobalBucket {
|
||||
garageUpdateGlobalBucket : * Runs once then exits
|
||||
garageUpdateGlobalBucket : * Updates cluster topo data in garage global bucket (used for bootstrapping)
|
||||
}
|
||||
|
||||
entrypoint --> garageEntrypoint : child (only if >1 storage allocation defined in daemon.yml)
|
||||
garageEntrypoint --> garage : child (one per storage allocation)
|
||||
garageEntrypoint --> garageApplyLayoutDiff : child
|
||||
garageEntrypoint --> garageUpdateGlobalBucket : child
|
||||
|
||||
state "./bin/cryptic-net-main update-global-bucket" as updateGlobalBucket {
|
||||
updateGlobalBucket : * Runs once then exits
|
||||
updateGlobalBucket : * Updates the bootstrap data for the host in garage for other hosts to query
|
||||
}
|
||||
|
||||
entrypoint --> updateGlobalBucket : child
|
||||
}
|
||||
|
||||
@enduml
|
||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
Loading…
Reference in New Issue
Block a user