-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploymentRollout.drawio
140 lines (140 loc) · 14.9 KB
/
deploymentRollout.drawio
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<mxfile host="app.diagrams.net" modified="2023-02-10T04:04:12.754Z" agent="5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15" etag="Fk28rMjvXCJf0HnULJjU" version="20.8.19" type="github">
<diagram name="第 1 页" id="yx45TFW8-gB1e2PjANzM">
<mxGraphModel dx="1665" dy="671" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="lW5wVb-Pzmryzw-E4cDz-46" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-1" target="lW5wVb-Pzmryzw-E4cDz-4">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-1" value="syncDeployment" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="205" y="110" width="120" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-45" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-4" target="lW5wVb-Pzmryzw-E4cDz-5">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-47" value="rollingUpdate" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];fontSize=14;" vertex="1" connectable="0" parent="lW5wVb-Pzmryzw-E4cDz-45">
<mxGeometry x="-0.2286" y="2" relative="1" as="geometry">
<mxPoint as="offset" />
</mxGeometry>
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-4" value="Strategy" style="rhombus;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="205" y="200" width="120" height="80" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-5" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="50" y="350" width="430" height="660" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-6" value="<font style="font-size: 14px;">rolloutRolling</font>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="50" y="350" width="120" height="40" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-41" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-7" target="lW5wVb-Pzmryzw-E4cDz-22">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-7" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">getAllReplicaSetsAndSyncRevision</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="150" y="400" width="230" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-8" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="610" y="140" width="430" height="510" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-9" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">getAllReplicaSetsAndSyncRevision</p>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="610" y="140" width="230" height="40" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-10" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">FindOldReplicaSets</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="725" y="210" width="220" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-14" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-11" target="lW5wVb-Pzmryzw-E4cDz-12">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-15" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-11" target="lW5wVb-Pzmryzw-E4cDz-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-11" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">existingNewRS In OldRSs</p>" style="rhombus;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="740" y="305" width="190" height="80" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-16" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-12" target="lW5wVb-Pzmryzw-E4cDz-13">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-12" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">Replicasets.Create</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="725" y="425" width="220" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-21" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-13" target="lW5wVb-Pzmryzw-E4cDz-7">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-13" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">Update DeploymentStatus</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="725" y="525" width="220" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-20" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.25;exitDx=0;exitDy=0;entryX=0;entryY=0.25;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-7" target="lW5wVb-Pzmryzw-E4cDz-10">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-32" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-22" target="lW5wVb-Pzmryzw-E4cDz-26">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-42" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-22" target="lW5wVb-Pzmryzw-E4cDz-24">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-22" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">reconcileNewReplicaSet</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="150" y="600" width="230" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-23" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="610" y="700" width="420" height="380" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-40" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-24" target="lW5wVb-Pzmryzw-E4cDz-34">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-44" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-24" target="lW5wVb-Pzmryzw-E4cDz-43">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-24" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">reconcileNewReplicaSet</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="150" y="800" width="230" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-25" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="-450" y="375" width="420" height="375" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-28" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-26" target="lW5wVb-Pzmryzw-E4cDz-27">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-30" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0;exitY=0.5;exitDx=0;exitDy=0;entryX=0;entryY=0.5;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-26" target="lW5wVb-Pzmryzw-E4cDz-29">
<mxGeometry relative="1" as="geometry">
<Array as="points">
<mxPoint x="-410" y="435" />
<mxPoint x="-410" y="675" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-26" value="newRS.replicas &gt; d.replicas" style="rhombus;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-355" y="400" width="240" height="70" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-27" value="scale down" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-352.5" y="510" width="235" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-29" value="scale up" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-352.5" y="645" width="235" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-31" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">reconcileNewReplicaSet</p>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="-450" y="375" width="160" height="35" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-38" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-33" target="lW5wVb-Pzmryzw-E4cDz-36">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-33" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">cleanupUnhealthyReplicas</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="727.5" y="850" width="215" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-35" style="edgeStyle=orthogonalEdgeStyle;rounded=0;orthogonalLoop=1;jettySize=auto;html=1;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;fontSize=14;" edge="1" parent="1" source="lW5wVb-Pzmryzw-E4cDz-34" target="lW5wVb-Pzmryzw-E4cDz-33">
<mxGeometry relative="1" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-34" value="maxScaleDown &gt; 0" style="rhombus;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="715" y="720" width="240" height="70" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-36" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">scaleDownOldReplicaSetsForRollingUpdate</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="668.75" y="980" width="332.5" height="60" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-39" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">reconcileOldReplicaSets</p>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="610" y="700" width="230" height="40" as="geometry" />
</mxCell>
<mxCell id="lW5wVb-Pzmryzw-E4cDz-43" value="<p style="margin: 0px; font-stretch: normal; font-size: 13px; line-height: normal; font-family: &quot;Helvetica Neue&quot;;">syncRolloutStatus</p>" style="rounded=0;whiteSpace=wrap;html=1;fontSize=14;" vertex="1" parent="1">
<mxGeometry x="150" y="930" width="230" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>