-
Notifications
You must be signed in to change notification settings - Fork 217
/
ClusterStatus.dot
48 lines (36 loc) · 2.3 KB
/
ClusterStatus.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
digraph ClusterStateMachine {
graph [nodesep = "1.0", ranksep = "1.0"];
node [style = filled];
compound = true;
newrank = false;
start [shape = house, color = coral];
insufficient [color = lightpink];
ready [color = cadetblue3];
subgraph cluster_level1 {
"preparing-for-installation" [color = darkolivegreen3];
installing [color = darkolivegreen3];
finalizing [color = darkolivegreen3];
}
installed [shape = doublecircle, color = chartreuse];
error [shape = doublecircle, color = crimson];
cancelled [shape = doublecircle, color = slategray];
start -> insufficient [label = "cluster\ncreated", color=lightpink3, fontcolor=lightpink3];
insufficient -> ready [label = "min reqs met", color=cadetblue4, fontcolor=cadetblue4];
ready -> insufficient [label = "min reqs\nnot met", color=lightpink3, fontcolor=lightpink3];
ready -> "preparing-for-installation" [label = "installation started", color=darkolivegreen3, fontcolor=darkolivegreen4];
cancelled -> insufficient [label = "reset", color=lightpink3, fontcolor=lightpink3];
"preparing-for-installation" -> installing [color=darkolivegreen4];
installing -> finalizing [label = "3 masters\n[+ >=2 workers]\ninstalled", color=chartreuse4, fontcolor=chartreuse4];
installing -> "installing-pending-user-action" [label = "hosts in wrong boot order", color=cornsilk4, fontcolor=cornsilk4];
"installing-pending-user-action" -> installing [label = "fixed wrong boot order", fontcolor=darkolivegreen4, color=darkolivegreen4];
"installing-pending-user-action" -> cancelled [label = "cancel", color=slategray, fontcolor=slategray];
"installing-pending-user-action" -> error [label = "error\n", color=crimson, fontcolor=crimson];
finalizing -> error [label = "installation\nerror\n", color=crimson, fontcolor=crimson, ltail = cluster_level1];
finalizing -> cancelled [label = "cancel", color=slategray, fontcolor=slategray, ltail = cluster_level1];
finalizing -> installed [label = "installation\ncompleted", color=chartreuse4, fontcolor=chartreuse4];
error -> insufficient [label = "reset", color=lightpink3, fontcolor=lightpink3];
{rank=min; start}
{rank=max; installed}
{rank=same; start; insufficient; ready}
{rank=same; installed; error; cancelled}
}