This repository has been archived by the owner on Feb 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 887
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc/devel: detail execution flow between stages
- Loading branch information
1 parent
64e931a
commit c33b220
Showing
7 changed files
with
209 additions
and
10 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.