-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathdefault.dot
64 lines (64 loc) · 3.54 KB
/
default.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* This dot file is generated by using k8sviz.sh for namespace default.
*/
digraph G {
rankdir=TD;
subgraph cluster_default {
label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/ns-128.png" /></TD></TR><TR><TD>default</TD></TR></TABLE>>;
labeljust="l";
graph[style=dotted];
{
rank=same;
0 [style=invis, height=0, width=0, margin=0];
// deploy in namespace default.
deploy_wordpress [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/deploy-128.png" /></TD></TR><TR><TD>wordpress</TD></TR></TABLE>>, penwidth=0]
deploy_wordpress_mysql [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/deploy-128.png" /></TD></TR><TR><TD>wordpress-mysql</TD></TR></TABLE>>, penwidth=0]
// job in namespace default.
}
{
rank=same;
1 [style=invis, height=0, width=0, margin=0];
// sts in namespace default.
// ds in namespace default.
// rs in namespace default.
rs_wordpress_6b4cf87879 [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/rs-128.png" /></TD></TR><TR><TD>wordpress-6b4cf87879</TD></TR></TABLE>>, penwidth=0]
rs_wordpress_mysql_7948cbb949 [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/rs-128.png" /></TD></TR><TR><TD>wordpress-mysql-7948cbb949</TD></TR></TABLE>>, penwidth=0]
}
{
rank=same;
2 [style=invis, height=0, width=0, margin=0];
// pod in namespace default.
pod_wordpress_6b4cf87879_kppkb [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/pod-128.png" /></TD></TR><TR><TD>wordpress-6b4cf87879-kppkb</TD></TR></TABLE>>, penwidth=0]
pod_wordpress_mysql_7948cbb949_89rw7 [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/pod-128.png" /></TD></TR><TR><TD>wordpress-mysql-7948cbb949-89rw7</TD></TR></TABLE>>, penwidth=0]
}
{
rank=same;
3 [style=invis, height=0, width=0, margin=0];
// pvc in namespace default.
pvc_mysql_pv_claim [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/pvc-128.png" /></TD></TR><TR><TD>mysql-pv-claim</TD></TR></TABLE>>, penwidth=0]
pvc_wp_pv_claim [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/pvc-128.png" /></TD></TR><TR><TD>wp-pv-claim</TD></TR></TABLE>>, penwidth=0]
}
{
rank=same;
4 [style=invis, height=0, width=0, margin=0];
// svc in namespace default.
svc_kubernetes [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/svc-128.png" /></TD></TR><TR><TD>kubernetes</TD></TR></TABLE>>, penwidth=0]
svc_wordpress [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/svc-128.png" /></TD></TR><TR><TD>wordpress</TD></TR></TABLE>>, penwidth=0]
svc_wordpress_mysql [label=<<TABLE BORDER="0"><TR><TD><IMG SRC="./icons/svc-128.png" /></TD></TR><TR><TD>wordpress-mysql</TD></TR></TABLE>>, penwidth=0]
}
// dummy edge to order ranks correctly.
0 -> 1 -> 2 -> 3 -> 4 [style=invis];
// Edges between pod and its managed resource
rs_wordpress_6b4cf87879 -> pod_wordpress_6b4cf87879_kppkb [style=dashed];
rs_wordpress_mysql_7948cbb949 -> pod_wordpress_mysql_7948cbb949_89rw7 [style=dashed];
// Edges between rs and its managed resource
deploy_wordpress -> rs_wordpress_6b4cf87879 [style=dashed];
deploy_wordpress_mysql -> rs_wordpress_mysql_7948cbb949 [style=dashed];
// Edges between PVC and pod
pod_wordpress_6b4cf87879_kppkb -> pvc_wp_pv_claim [dir=none];
pod_wordpress_mysql_7948cbb949_89rw7 -> pvc_mysql_pv_claim [dir=none];
// Edges between svc and pod
pod_wordpress_6b4cf87879_kppkb -> svc_wordpress [dir=back];
pod_wordpress_mysql_7948cbb949_89rw7 -> svc_wordpress_mysql [dir=back];
}
}