Files
kuboard-press/learning/k8s-practice/micro-service/design-pattern.assets/ready.svg
2019-11-17 08:50:22 +08:00

458 lines
17 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="511.51367"
height="405.07999"
id="svg2"
version="1.1"
inkscape:version="0.48.5 r10040"
sodipodi:docname="dependency_throttling_fsm.svg">
<defs
id="defs4">
<marker
inkscape:stockid="DotL"
orient="auto"
refY="0"
refX="0"
id="DotL"
style="overflow:visible">
<path
id="path3848"
d="m -2.5,-1 c 0,2.76 -2.24,5 -5,5 -2.76,0 -5,-2.24 -5,-5 0,-2.76 2.24,-5 5,-5 2.76,0 5,2.24 5,5 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(0.8,0,0,0.8,5.92,0.8)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0"
refX="0"
id="Arrow1Lend"
style="overflow:visible">
<path
id="path3790"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(-0.8,0,0,-0.8,-10,0)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0"
refX="0"
id="Arrow1Lend-7"
style="overflow:visible">
<path
id="path3790-7"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(-0.8,0,0,-0.8,-10,0)"
inkscape:connector-curvature="0" />
</marker>
<marker
inkscape:stockid="Arrow1Lend"
orient="auto"
refY="0"
refX="0"
id="marker5175"
style="overflow:visible">
<path
id="path5177"
d="M 0,0 5,-5 -12.5,0 5,5 0,0 z"
style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt"
transform="matrix(-0.8,0,0,-0.8,-10,0)"
inkscape:connector-curvature="0" />
</marker>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4142136"
inkscape:cx="254.85212"
inkscape:cy="187.3504"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
inkscape:window-height="1025"
inkscape:window-x="-2"
inkscape:window-y="-3"
inkscape:window-maximized="1">
<inkscape:grid
type="xygrid"
id="grid2985"
empspacing="5"
visible="true"
enabled="true"
snapvisiblegridlinesonly="true"
originx="28.205078px"
originy="-649.5px" />
</sodipodi:namedview>
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(28.205078,2.2178174)">
<g
id="g4595">
<rect
ry="5"
y="42.362183"
x="180"
height="40"
width="100"
id="rect3773"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text2987"
y="58.172729"
x="230.21973"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="58.172729"
x="230.21973"
id="tspan2989"
sodipodi:role="line"
style="font-weight:bold;-inkscape-font-specification:Sans Bold">Downloading</tspan><tspan
y="73.172729"
x="230.21973"
sodipodi:role="line"
id="tspan5208"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Monospace;-inkscape-font-specification:Monospace">docker pull</tspan></text>
</g>
<g
id="g4600"
transform="translate(0,20)">
<rect
ry="5"
y="102.36218"
x="180"
height="40"
width="100"
id="rect3775"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text2991"
y="119.33582"
x="229.99121"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="119.33582"
x="229.99121"
sodipodi:role="line"
id="tspan5210"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:Sans;-inkscape-font-specification:Sans Bold">Blocked</tspan><tspan
y="134.33582"
x="229.99121"
sodipodi:role="line"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Monospace;-inkscape-font-specification:Monospace"
id="tspan5080">docker create</tspan></text>
</g>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#Arrow1Lend)"
d="m 230,82.362186 0,29.999994 0,10"
id="path3781"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-start:url(#DotL);marker-end:url(#Arrow1Lend)"
d="m 230,2.3621826 0,40.0000004"
id="path4815"
inkscape:connector-curvature="0" />
<use
x="0"
y="0"
xlink:href="#path3781"
id="use5189"
transform="translate(0,80)"
width="744.09448"
height="1052.3622" />
<g
id="g5222"
transform="translate(0,80)">
<path
inkscape:connector-curvature="0"
id="path5218"
d="m 235,22.362183 -60,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path5220"
d="m 175,17.362183 0,10"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<g
transform="translate(0,160)"
id="g5226">
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 235,22.362183 -60,0"
id="path5228"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 175,17.362183 0,10"
id="path5230"
inkscape:connector-curvature="0" />
</g>
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="170"
y="105.67273"
id="text5238"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5240"
x="170"
y="105.67273">Image is pulled</tspan></text>
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="170"
y="185.67273"
id="text5242"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5244"
x="170"
y="185.67273">Dependencies satisfied</tspan></text>
<g
id="g4600-5"
transform="translate(0,99.999987)">
<rect
ry="5"
y="102.36218"
x="180"
height="40"
width="100"
id="rect3775-6"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text2991-4"
y="119.33582"
x="229.99121"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="119.33582"
x="229.99121"
id="tspan2993"
sodipodi:role="line"
style="font-weight:bold;-inkscape-font-specification:Sans Bold">Pending</tspan><tspan
y="134.33582"
x="229.99121"
sodipodi:role="line"
id="tspan5210-9"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Monospace;-inkscape-font-specification:Monospace" /></text>
</g>
<g
id="g4605"
transform="translate(0,119.99999)">
<rect
ry="5"
y="162.36218"
x="180"
height="40"
width="100"
id="rect3777"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text2995"
y="179.33582"
x="230.22559"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="179.33582"
x="230.22559"
id="tspan2997"
sodipodi:role="line"
style="font-weight:bold;-inkscape-font-specification:Sans Bold">Starting</tspan><tspan
y="194.33582"
x="230.22559"
sodipodi:role="line"
id="tspan5212"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-family:Monospace;-inkscape-font-specification:Monospace">docker start</tspan></text>
</g>
<g
id="g4610"
transform="translate(0,139.99999)">
<rect
ry="5"
y="222.36218"
x="180"
height="40"
width="100"
id="rect3779"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text2999"
y="245.67273"
x="229.58984"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="245.67273"
x="229.58984"
id="tspan3001"
sodipodi:role="line"
style="font-weight:bold;-inkscape-font-specification:Sans Bold">Ready</tspan></text>
</g>
<use
x="0"
y="0"
xlink:href="#path3781"
id="use5189-7"
transform="translate(0,159.99999)"
width="744.09448"
height="1052.3622" />
<use
height="1052.3622"
width="744.09448"
transform="translate(0,239.99999)"
id="use5191"
xlink:href="#path3781"
y="0"
x="0" />
<g
transform="translate(0,239.99999)"
id="g5226-8">
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 235,22.362183 -60,0"
id="path5228-3"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 175,17.362183 0,10"
id="path5230-7"
inkscape:connector-curvature="0" />
</g>
<g
id="g5232"
transform="translate(0,319.99999)">
<path
inkscape:connector-curvature="0"
id="path5234"
d="m 235,22.362183 -60,0"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
<path
inkscape:connector-curvature="0"
id="path5236"
d="m 175,17.362183 0,10"
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
</g>
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="170"
y="265.67273"
id="text5242-0"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5244-7"
x="170"
y="265.67273">Throttling policy</tspan></text>
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:end;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="170"
y="345.67273"
id="text5246"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan5248"
x="170"
y="345.67273">LivenessProbe reports its first OK</tspan></text>
<g
id="g5341"
transform="translate(140,-50)">
<rect
ry="5"
transform="translate(-28.205078,-2.2178174)"
y="414.57999"
x="208.20508"
height="40"
width="100"
id="rect5335"
style="fill:#ffffff;fill-opacity:1;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text5337"
y="436.83582"
x="229.95605"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:center;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:middle;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
xml:space="preserve"><tspan
y="436.83582"
x="229.95605"
id="tspan5339"
sodipodi:role="line"
style="font-weight:bold;-inkscape-font-specification:Sans Bold">Failed</tspan></text>
</g>
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;marker-end:url(#marker5175)"
d="m 278.20508,324.57999 0,10 120,0 0,30"
id="path5346"
inkscape:connector-curvature="0"
transform="translate(-28.205078,-2.2178174)" />
<g
transform="matrix(-1,0,0,1,600,319.99999)"
id="g6068">
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 235,22.362183 -60,0"
id="path6070"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 175,17.362183 0,10"
id="path6072"
inkscape:connector-curvature="0" />
</g>
<text
xml:space="preserve"
style="font-size:12px;font-style:normal;font-weight:normal;text-align:start;line-height:125%;letter-spacing:0px;word-spacing:0px;text-anchor:start;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="430"
y="346.83582"
id="text6074"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan6076"
x="430"
y="346.83582">Time-out</tspan></text>
</g>
</svg>