Skip to content

Commit

Permalink
doc: add diagram with boot stages
Browse files Browse the repository at this point in the history
SC-1835
Fixes GH-5334
  • Loading branch information
aciba90 committed Jul 24, 2024
1 parent 5532b4a commit 5ce8fa8
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ sphinx-design
sphinx-copybutton
sphinx-notfound-page
sphinxcontrib.datatemplates
sphinxcontrib-mermaid
sphinxcontrib-spelling
1 change: 1 addition & 0 deletions doc/rtd/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"sphinx.ext.autosectionlabel",
"sphinx.ext.viewcode",
"sphinxcontrib.datatemplates",
"sphinxcontrib.mermaid",
"sphinxcontrib.spelling",
]

Expand Down
37 changes: 37 additions & 0 deletions doc/rtd/explanation/boot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,43 @@ There are five stages to boot:
4. Config
5. Final

Visual representation:

.. mermaid::

graph LR

D[Detect] ---> L

L --> NU([Network up])
L & NU --> N
subgraph L[Local]
direction TB
FI[Fetch IMDS]
end

N --> NO([Network online])
N & NO --> C
N --> S([SSH])
N --> Login([Login])

subgraph N[Network]
direction TB
cloud_init_modules
end
%% cloud_config_modules

subgraph C[Config]
direction TB
cloud_config_modules
end

C --> F
subgraph F[Final]
direction TB
cloud_final_modules
end

.. _boot-Detect:

Detect
Expand Down

0 comments on commit 5ce8fa8

Please sign in to comment.