This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2945 from s-urbaniak/execflow
doc/devel: detail execution flow between stages
- Loading branch information
Showing
11 changed files
with
247 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
digraph G { | ||
graph [fontname = "helvetica"]; | ||
node [fontname = "Arial", fillcolor="#FFE599", style="filled"]; | ||
edge [fontname = "monospace"]; | ||
|
||
{ | ||
invokingProcess [shape="node", label=<<B>bash/systemd/kubelet</B><BR/>invoking process>] | ||
stage0 [shape="node", label=<<B>stage0</B><BR/>rkt>] | ||
entrypoint [shape="node", label=<entrypoint<BR/>"coreos.com/rkt/stage1/run">] | ||
app1 [shape="node", label=<<B>stage2</B><BR/>"apps.app.exec"<BR/>app1>] | ||
} | ||
|
||
invokingProcess -> stage0 | ||
stage0 -> entrypoint [label="exec(3)"] | ||
|
||
subgraph cluster_1 { | ||
label=<<B>stage1</B>> | ||
labeljust="left" | ||
entrypoint | ||
|
||
subgraph cluster_2 { | ||
label=<<B>stage2</B>> | ||
labeljust="left" | ||
app1 | ||
} | ||
} | ||
|
||
entrypoint -> app1 [label="chroot(2)+\nexec(3)"] | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
digraph G { | ||
graph [fontname = "helvetica"]; | ||
node [fontname = "Arial", fillcolor="#FFE599", style="filled"]; | ||
edge [fontname = "monospace"]; | ||
|
||
{ | ||
invokingProcess [shape="node", | ||
label=<<B>systemd-run / service unit</B><BR/>invoking process>, fillcolor="#FFF4D4"] | ||
stage0 [shape="node", label=<<B>stage0</B><BR/>rkt>, fillcolor="#FFF4D4"] | ||
init [shape="node", label=</init<BR/>"coreos.com/rkt/stage1/run">] | ||
ld [shape="node", label="ld-linux-x86-64"] | ||
systemdNspawn [shape="node", label=<systemd-nspawn>] | ||
systemdMachined [shape="node", label=<systemd-machined>, fillcolor="#FFF4D4"] | ||
|
||
systemd [shape="node", | ||
label=<systemd>] | ||
|
||
app1 [shape="node", | ||
label=<"apps.app.exec"<BR/>app1>] | ||
|
||
app2 [shape="node", | ||
label=<"apps.app.exec"<BR/>app2>] | ||
|
||
journal [shape="node", | ||
label=<systemd-journal>] | ||
} | ||
|
||
invokingProcess -> stage0 [label="fork(2)+exec(3)"] | ||
stage0 -> init [label="exec(3)"] | ||
systemdNspawn -> systemd [label="fork(2)+exec(3)"] | ||
systemdNspawn -> systemdMachined [label="register", | ||
fontname="Arial"] | ||
init -> ld [label="exec(3)"] | ||
ld -> systemdNspawn | ||
systemd -> app1 | ||
systemd -> app2 | ||
systemd -> journal [label="fork(2)+exec(3)"] | ||
|
||
invokingProcess | ||
stage0 | ||
systemdMachined | ||
|
||
subgraph cluster_1 { | ||
label=<<B>stage1</B>> | ||
labeljust="left" | ||
|
||
init | ||
ld | ||
systemdNspawn | ||
systemd | ||
journal | ||
|
||
subgraph cluster_2 { | ||
label=<<B>stage2</B>> | ||
labeljust="left" | ||
app1 | ||
} | ||
|
||
subgraph cluster_3 { | ||
label=<<B>stage2</B>> | ||
labeljust="left" | ||
app2 | ||
} | ||
} | ||
|
||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
digraph G { | ||
graph [fontname = "helvetica"]; | ||
node [fontname = "Arial", fillcolor="#FFE599", style="filled"]; | ||
edge [fontname = "monospace"]; | ||
|
||
{ | ||
invokingProcess [shape="node", | ||
label=<<B>bash/systemd/kubelet</B><BR/>invoking process>] | ||
stage0 [shape="node", | ||
label=<<B>stage0</B><BR/>rkt>] | ||
entrypoint [shape="node", | ||
label=<entrypoint<BR/>"coreos.com/rkt/stage1/run">] | ||
app1 [shape="node", | ||
label=<"apps.app.exec"<BR/>app1>] | ||
app2 [shape="node", | ||
label=<"apps.app.exec"<BR/>app2>] | ||
} | ||
|
||
invokingProcess -> stage0 [label="fork(2)+exec(3)"] | ||
stage0 -> entrypoint [label="exec(3)"] | ||
|
||
subgraph cluster_1 { | ||
label=<<B>stage1</B>> | ||
labeljust="left" | ||
|
||
entrypoint | ||
|
||
subgraph cluster_2 { | ||
label=<<B>stage2</B>> | ||
labeljust="left" | ||
app1 | ||
} | ||
|
||
subgraph cluster_3 { | ||
label=<<B>stage2</B>> | ||
labeljust="right" | ||
app2 | ||
} | ||
} | ||
|
||
entrypoint -> app1 | ||
entrypoint -> app2 | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
digraph G { | ||
rankdir="LR"; | ||
|
||
graph [fontname = "helvetica"]; | ||
node [fontname = "Arial", fillcolor="#FFE599", style="filled"]; | ||
edge [fontname = "monospace"]; | ||
|
||
{ | ||
fetch [shape="node", label=<Fetch>] | ||
store [shape="node", label=<Store>] | ||
render [shape="node", label=<Render>] | ||
} | ||
|
||
fetch -> store | ||
store -> render | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
digraph G { | ||
rankdir="LR"; | ||
|
||
graph [fontname = "helvetica"]; | ||
node [fontname = "Arial", fillcolor="#FFE599", style="filled"]; | ||
edge [fontname = "monospace"]; | ||
|
||
{ | ||
fetchers [shape="node", label=<Fetchers>, pos="0,0!"] | ||
image_store [shape="node", label=<Image Store>, pos="2,0!"] | ||
tree_store [shape="node", label=<Tree Store>, pos="4,0!"] | ||
fs_contents [shape="node", label=<Stage1-2 fs contents>, pos="6,0!"] | ||
renderer [shape="node", label=<Direct Stage1-2 renderer>, pos="4,-1!"] | ||
} | ||
|
||
fetchers -> image_store | ||
tree_store -> image_store | ||
renderer -> image_store | ||
fs_contents -> tree_store | ||
renderer -> fs_contents [dir=none] | ||
} |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.