Skip to content

Instantly share code, notes, and snippets.

@misterikkit
Last active August 10, 2018 16:45
Show Gist options
  • Save misterikkit/b5c5d56f55a52df48839f3e1aa5ec48b to your computer and use it in GitHub Desktop.
Save misterikkit/b5c5d56f55a52df48839f3e1aa5ec48b to your computer and use it in GitHub Desktop.
Kubernetes Scheduler Startup and Configuration Sequence
Display the source blob
Display the rendered blob
Raw
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="3090" height="1928"><defs/><g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g><rect fill="white" stroke="none" x="0" y="0" width="3090" height="1928"/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="16.5pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1369.2631717194863" y="24.50280495" text-anchor="start" dominant-baseline="alphabetic">K8S Scheduler Application Lifecycle</text></g><g/><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 46.65551079251173 116.143295463 L 46.65551079251173 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 329.13325869111065 195.53238350099997 L 329.13325869111065 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 567.64941296178 304.32483747899994 L 567.64941296178 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 808.4425359872331 395.9653279919999 L 808.4425359872331 613.386883915" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1158.3989890908113 613.386883915 L 1158.3989890908113 693.592732118" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1504.27991118853 693.592732118 L 1504.27991118853 742.5983420179999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1842.8326777686705 116.143295463 L 1842.8326777686705 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2164.842224983676 1340.3851067814996 L 2164.842224983676 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2435.7815577259257 871.8098001209999 L 2435.7815577259257 1004.1249468509998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2697.7611126361444 1038.5922258139997 L 2697.7611126361444 1070.5275482654997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2959.740667546363 1162.0046867454996 L 2959.740667546363 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2959.740667546363 1162.1680387784995 L 2959.740667546363 1928.4524255815" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="12.565541,5.445067766666667"/></g><g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 8.167601650000002 72.20159858600003 L 85.14341993502345 72.20159858600003 L 85.14341993502345 116.14329546300002 L 8.167601650000002 116.14329546300002 L 8.167601650000002 72.20159858600003 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="25.891297230500008" y="99.80809216300001" text-anchor="start" dominant-baseline="alphabetic">main()</text></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 1685.3879738873893 51.78259446100001 L 2000.2773816499518 51.78259446100001 L 2000.2773816499518 116.14329546300002 L 1685.3879738873893 116.14329546300002 L 1685.3879738873893 51.78259446100001 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1703.1116694678892" y="79.389088038" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/cmd/kube-scheduler/app</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1725.561056064569" y="99.808092163" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1725.561056064569" y="99.808092163" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="1725.561056064569" y="99.808092163" text-anchor="start" dominant-baseline="alphabetic">func Run(CompletedConfig)</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1960.104299472772" y="99.808092163" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1960.104299472772" y="99.808092163" text-anchor="start" dominant-baseline="alphabetic"></text></g></g><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 38.487909142511725 124.31089711300001 L 54.82311244251173 124.31089711300001 L 54.82311244251173 1809.2054414915 L 38.487909142511725 1809.2054414915 L 38.487909142511725 124.31089711300001" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 320.96565704111066 441.7038972319999 L 337.30086034111065 441.7038972319999 L 337.30086034111065 1809.2054414915 L 320.96565704111066 1809.2054414915 L 320.96565704111066 441.7038972319999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 559.4818113117799 487.4424664719999 L 575.81701461178 487.4424664719999 L 575.81701461178 1763.4668722515 L 559.4818113117799 1763.4668722515 L 559.4818113117799 487.4424664719999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 1834.6650761186704 742.5983420179999 L 1851.0002794186705 742.5983420179999 L 1851.0002794186705 1717.7283030115 L 1834.6650761186704 1717.7283030115 L 1834.6650761186704 742.5983420179999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2156.6746233336758 1386.1236760214997 L 2173.009826633676 1386.1236760214997 L 2173.009826633676 1671.9897337715 L 2156.6746233336758 1671.9897337715 L 2156.6746233336758 1386.1236760214997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2951.573065896363 1493.9360178014997 L 2967.908269196363 1493.9360178014997 L 2967.908269196363 1626.2511645314999 L 2951.573065896363 1626.2511645314999 L 2951.573065896363 1493.9360178014997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 279.23451428248563 150.20219434350003 L 379.0320030997357 150.20219434350003 L 379.0320030997357 194.14389122050002 L 279.23451428248563 194.14389122050002 L 279.23451428248563 150.20219434350003 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="296.95820986298565" y="177.80868792049998" text-anchor="start" dominant-baseline="alphabetic">command</text></g><g><g><rect fill="white" stroke="none" x="78.23690383917837" y="150.937278492" width="177.58381904664063" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="80.68718433417837" y="165.63896146199997" text-anchor="start" dominant-baseline="alphabetic">NewSchedulerCommand()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 54.82311244251173 172.17304278199998 L 276.5119803991523 172.17304278199998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(279.23451428248563,172.17304278199998) translate(-279.23451428248563,-172.17304278199998)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 265.62184486581896 165.36670807366664 L 279.23451428248563 172.17304278199998 L 265.62184486581896 178.97937749033332 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 329.13325869111065 246.98827389599995 L 320.96565704111066 246.98827389599995 M 166.88677102864972 220.03518845099995 L 306.2639740711107 220.03518845099995 L 320.96565704111066 234.73687142099996 L 320.96565704111066 273.94135934099995 L 166.88677102864972 273.94135934099995 L 166.88677102864972 220.03518845099995 M 306.2639740711107 220.03518845099995 L 306.2639740711107 234.73687142099996 L 320.96565704111066 234.73687142099996" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="189.75605564864972" y="242.90447307099993" text-anchor="start" dominant-baseline="alphabetic">This is a</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="189.75605564864972" y="259.2396763709999" text-anchor="start" dominant-baseline="alphabetic">Cobra command</text></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 512.0398836410455 242.65944502149998 L 623.2589422825143 242.65944502149998 L 623.2589422825143 302.93634519849996 L 512.0398836410455 302.93634519849996 L 512.0398836410455 242.65944502149998 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="529.7635792215456" y="270.26593859849993" text-anchor="start" dominant-baseline="alphabetic">anonymous</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="553.7982548196901" y="286.6011418984999" text-anchor="start" dominant-baseline="alphabetic">func</text></g><g><g><rect fill="white" stroke="none" x="356.6308509127773" y="251.56213081999996" width="127.91144050660156" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="359.0811314077773" y="266.26381379" text-anchor="start" dominant-baseline="alphabetic">value of `Run` field</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 329.13325869111065 272.79789510999996 L 509.31734975771224 272.79789510999996" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(512.0398836410455,272.79789510999996) translate(-512.0398836410455,-272.79789510999996)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 498.4272142243789 265.9915604016666 L 512.0398836410455 272.79789510999996 L 498.4272142243789 279.6042298183333 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 639.5941455825143 330.21613470949995 L 977.2909263919519 330.21613470949995 L 977.2909263919519 394.57683571149994 L 639.5941455825143 394.57683571149994 L 639.5941455825143 330.21613470949995 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="657.3178411630144" y="357.82262828649993" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/cmd/kube-scheduler/options</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="775.2137151864519" y="378.24163241149995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="775.2137151864519" y="378.24163241149995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="775.2137151864519" y="378.24163241149995" text-anchor="start" dominant-baseline="alphabetic">Options</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="841.6713567880144" y="378.24163241149995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="841.6713567880144" y="378.24163241149995" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="292.613443427181" y="341.1607209204999" width="109.19037117066406" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="295.063723922181" y="355.8624038904999" text-anchor="start" dominant-baseline="alphabetic">flags get parsed</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 54.82311244251173 362.3964852104999 L 636.871611699181 362.3964852104999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(639.5941455825143,362.3964852104999) translate(-639.5941455825143,-362.3964852104999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 625.9814761658477 355.5901505021666 L 639.5941455825143 362.3964852104999 L 625.9814761658477 369.20281991883326 Z"/></g></g><g><g><rect fill="white" stroke="none" x="154.08488183470183" y="420.4681329419999" width="67.61900581421875" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="156.53516232970182" y="435.1698159119999" text-anchor="start" dominant-baseline="alphabetic">Execute()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 54.82311244251173 441.7038972319999 L 318.24312315777735 441.7038972319999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(320.96565704111066,441.7038972319999) translate(-320.96565704111066,-441.7038972319999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 307.352987624444 434.8975625236666 L 320.96565704111066 441.7038972319999 L 307.352987624444 448.51023194033326 Z"/></g></g><g><g><rect fill="white" stroke="none" x="445.9410553314452" y="466.2067021819999" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="448.39133582644524" y="480.9083851519999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 337.30086034111065 487.4424664719999 L 556.7592774284466 487.4424664719999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(559.4818113117799,487.4424664719999) translate(-559.4818113117799,-487.4424664719999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 545.8691418951132 480.6361317636666 L 559.4818113117799 487.4424664719999 L 545.8691418951132 494.24880118033326 Z"/></g></g><g><g><rect fill="white" stroke="none" x="658.8607158128073" y="511.9452714219999" width="66.53811897339844" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="661.3109963078073" y="526.6469543919999" text-anchor="start" dominant-baseline="alphabetic">Validate()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 575.81701461178 533.1810357119999 L 805.7200021038998 533.1810357119999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(808.4425359872331,533.1810357119999) translate(-808.4425359872331,-533.1810357119999)"><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 794.8298665705664 526.3747010036666 L 807.0812690455664 533.1810357119999 L 794.8298665705664 539.9873704203333" stroke-miterlimit="10" stroke-width="1.3612669416666667"/></g></g><g><g><rect fill="white" stroke="none" x="663.6159877244284" y="557.683840662" width="57.02757515015625" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="666.0662682194284" y="572.385523632" text-anchor="start" dominant-baseline="alphabetic">Config()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 575.81701461178 578.919604952 L 805.7200021038998 578.919604952" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(808.4425359872331,578.919604952) translate(-808.4425359872331,-578.919604952)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 794.8298665705664 572.1132702436666 L 808.4425359872331 578.919604952 L 794.8298665705664 585.7259396603333 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 993.6261296919519 547.6376906324999 L 1323.1718484896705 547.6376906324999 L 1323.1718484896705 611.9983916345 L 993.6261296919519 611.9983916345 L 993.6261296919519 547.6376906324999 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1011.3498252724519" y="575.2441842095" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/cmd/kube-scheduler/config</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1130.5522407387605" y="595.6631883345" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1130.5522407387605" y="595.6631883345" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="1130.5522407387605" y="595.6631883345" text-anchor="start" dominant-baseline="alphabetic">Config</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1186.245737442862" y="595.6631883345" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1186.245737442862" y="595.6631883345" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="898.5840523445925" y="558.5822768434999" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="901.0343328395925" y="573.2839598134999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 808.4425359872331 579.8180411335 L 990.9035958086185 579.8180411335" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(993.6261296919519,579.8180411335) translate(-993.6261296919519,-579.8180411335)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 980.0134602752852 573.0117064251666 L 993.6261296919519 579.8180411335 L 980.0134602752852 586.6243758418333 Z"/></g></g><g><g><rect fill="white" stroke="none" x="828.414275006198" y="637.8896888649999" width="77.38745369019531" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="830.864555501198" y="652.5913718349999" text-anchor="start" dominant-baseline="alphabetic">Complete()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 575.81701461178 659.125453155 L 1155.6764552074778 659.125453155" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(1158.3989890908113,659.125453155) translate(-1158.3989890908113,-659.125453155)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 1144.7863196741446 652.3191184466666 L 1158.3989890908113 659.125453155 L 1144.7863196741446 665.9317878633333 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 1339.5070517896706 627.8435388354999 L 1669.0527705873894 627.8435388354999 L 1669.0527705873894 692.2042398374999 L 1339.5070517896706 692.2042398374999 L 1339.5070517896706 627.8435388354999 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1357.2307473701705" y="655.4500324124999" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/cmd/kube-scheduler/config</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1430.979778437065" y="675.8690365374999" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1430.979778437065" y="675.8690365374999" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="1430.979778437065" y="675.8690365374999" text-anchor="start" dominant-baseline="alphabetic">CompletedConfig</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1577.5800439399948" y="675.8690365374999" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1577.5800439399948" y="675.8690365374999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="1246.5027399452408" y="638.7881250464999" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1248.9530204402408" y="653.4898080164999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1158.3989890908113 660.0238893364999 L 1336.7845179063372 660.0238893364999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(1339.5070517896706,660.0238893364999) translate(-1339.5070517896706,-660.0238893364999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 1325.894382373004 653.2175546281666 L 1339.5070517896706 660.0238893364999 L 1325.894382373004 666.8302240448332 Z"/></g></g><g><g><rect fill="white" stroke="none" x="1671.1060139836002" y="721.362577728" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1673.5562944786002" y="736.064260698" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1504.27991118853 718.095537068 L 1840.110143885337 766.7070594088467" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="6.53408132"/><g transform="translate(1842.8326777686705,767.101146968) rotate(8.23637381439967,0,0) translate(-1842.8326777686705,-767.101146968)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 1829.2200083520038 760.2948122596666 L 1842.8326777686705 767.101146968 L 1829.2200083520038 773.9074816763333 Z"/><g transform="rotate(-8.23637381439967,0,0)"/></g></g><g><g><rect fill="white" stroke="none" x="1202.790764870225" y="758.9335453179998" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1205.241045365225" y="773.6352282879998" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 575.81701461178 780.1693096079998 L 1831.942542235337 780.1693096079998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(1834.6650761186704,780.1693096079998) translate(-1834.6650761186704,-780.1693096079998)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 1821.0524067020037 773.3629748996665 L 1834.6650761186704 780.1693096079998 L 1821.0524067020037 786.9756443163332 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2312.959381920816 806.0606068384998 L 2558.603733531035 806.0606068384998 L 2558.603733531035 870.4213078404998 L 2312.959381920816 870.4213078404998 L 2312.959381920816 806.0606068384998 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2330.6830775013163" y="833.6671004154998" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/pkg/scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2382.519228624363" y="854.0861045404998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2382.519228624363" y="854.0861045404998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="2382.519228624363" y="854.0861045404998" text-anchor="start" dominant-baseline="alphabetic">Configurator</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2489.043886827488" y="854.0861045404998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2489.043886827488" y="854.0861045404998" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="1957.7531448402708" y="817.0051930494998" width="248.45337165894531" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1960.2034253352708" y="831.7068760194998" text-anchor="start" dominant-baseline="alphabetic">NewConfigFactory(CompletedConfig)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1851.0002794186705 838.2409573394998 L 2310.236848037483 838.2409573394998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2312.959381920816,838.2409573394998) translate(-2312.959381920816,-838.2409573394998)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2299.3467125041498 831.4346226311665 L 2312.959381920816 838.2409573394998 L 2299.3467125041498 845.0472920478331 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2334.709849935789 896.3126050709998 L 2536.853265516062 896.3126050709998 L 2551.554948486062 927.3494913409999 L 2536.853265516062 958.3863776109998 L 2334.709849935789 958.3863776109998 L 2320.008166965789 927.3494913409999 L 2334.709849935789 896.3126050709998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2342.877451585789" y="923.2656905159998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2342.877451585789" y="923.2656905159998" text-anchor="start" dominant-baseline="alphabetic">Informer event handlers</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2342.877451585789" y="943.6846946409999" text-anchor="start" dominant-baseline="alphabetic">are added here</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2462.2194315662578" y="943.6846946409999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="2067.219271194974" y="982.8891825609998" width="152.34329475464844" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2069.669551689974" y="997.5908655309997" text-anchor="start" dominant-baseline="alphabetic">NewSchedulerConfig()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1851.0002794186705 1004.1249468509998 L 2433.0590238425925 1004.1249468509998" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2435.7815577259257,1004.1249468509998) translate(-2435.7815577259257,-1004.1249468509998)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2422.1688883092593 997.3186121426664 L 2435.7815577259257 1004.1249468509998 L 2422.1688883092593 1010.9312815593331 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2574.938936831035 972.8430325314996 L 2820.5832884412534 972.8430325314996 L 2820.5832884412534 1037.2037335334996 L 2574.938936831035 1037.2037335334996 L 2574.938936831035 972.8430325314996 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2592.662632411535" y="1000.4495261084998" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/pkg/scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2669.9143642840936" y="1020.8685302334998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2669.9143642840936" y="1020.8685302334998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="2669.9143642840936" y="1020.8685302334998" text-anchor="start" dominant-baseline="alphabetic">Config</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2725.607860988195" y="1020.8685302334998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2725.607860988195" y="1020.8685302334998" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="2502.9099667834807" y="983.7876187424996" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2505.3602472784805" y="998.4893017124996" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2435.7815577259257 1005.0233830324996 L 2572.2164029477017 1005.0233830324996" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2574.938936831035,1005.0233830324996) translate(-2574.938936831035,-1005.0233830324996)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2561.3262674143684 998.2170483241663 L 2574.938936831035 1005.0233830324996 L 2561.3262674143684 1011.829717740833 Z"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2836.9184917412535 1096.2554934629995 L 3082.562843351472 1096.2554934629995 L 3082.562843351472 1160.6161944649996 L 2836.9184917412535 1160.6161944649996 L 2836.9184917412535 1096.2554934629995 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2854.6421873217537" y="1123.8619870399996" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/pkg/scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2917.2081205492927" y="1144.2809911649995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2917.2081205492927" y="1144.2809911649995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="2917.2081205492927" y="1144.2809911649995" text-anchor="start" dominant-baseline="alphabetic">Scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="3002.2732145434334" y="1144.2809911649995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="3002.2732145434334" y="1144.2809911649995" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="2764.889521693699" y="1053.2939087839998" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2767.3398021886987" y="1067.9955917539999" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2697.7611126361444 1063.0950307639996 L 2834.1959578579203 1127.1574886295894" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray="6.53408132"/><g transform="translate(2836.9184917412535,1128.4358439639996) rotate(25.152222555041007,0,0) translate(-2836.9184917412535,-1128.4358439639996)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2823.305822324587 1121.6295092556663 L 2836.9184917412535 1128.4358439639996 L 2823.305822324587 1135.2421786723328 Z"/><g transform="rotate(-25.152222555041007,0,0)"/></g></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2836.9184917412535 1096.4188454959994 L 3082.562843351472 1096.4188454959994 L 3082.562843351472 1160.7795464979995 L 2836.9184917412535 1160.7795464979995 L 2836.9184917412535 1096.4188454959994 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2854.6421873217537" y="1124.0253390729995" text-anchor="start" dominant-baseline="alphabetic">k8s.io/kubernetes/pkg/scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2917.2081205492927" y="1144.4443431979994" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2917.2081205492927" y="1144.4443431979994" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="2917.2081205492927" y="1144.4443431979994" text-anchor="start" dominant-baseline="alphabetic">Scheduler</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="3002.2732145434334" y="1144.4443431979994" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="3002.2732145434334" y="1144.4443431979994" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="2262.5063356147475" y="1107.3634317069996" width="162.9060999304297" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2264.9566161097473" y="1122.0651146769997" text-anchor="start" dominant-baseline="alphabetic">NewFromConfig(Config)</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1851.0002794186705 1128.5991959969995 L 2834.1959578579203 1128.5991959969995" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2836.9184917412535,1128.5991959969995) translate(-2836.9184917412535,-1128.5991959969995)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2823.305822324587 1121.7928612886662 L 2836.9184917412535 1128.5991959969995 L 2823.305822324587 1135.4055307053327 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 1727.0966480791199 1186.6708437284997 L 1958.5687074582213 1186.6708437284997 L 1973.2703904282214 1217.7077299984996 L 1958.5687074582213 1248.7446162684996 L 1727.0966480791199 1248.7446162684996 L 1712.3949651091198 1217.7077299984996 L 1727.0966480791199 1186.6708437284997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1735.2642497291197" y="1213.6239291734996" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1735.2642497291197" y="1213.6239291734996" text-anchor="start" dominant-baseline="alphabetic">Informers and broadcasters</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1735.2642497291197" y="1234.0429332984995" text-anchor="start" dominant-baseline="alphabetic">are started here</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1859.4685649146666" y="1234.0429332984995" text-anchor="start" dominant-baseline="alphabetic"></text></g><path fill="none" stroke="none"/><g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2033.0602713465353 1274.6359134989996 L 2296.6241786208166 1274.6359134989996 L 2296.6241786208166 1338.9966145009996 L 2033.0602713465353 1338.9966145009996 L 2033.0602713465353 1274.6359134989996 Z" stroke-miterlimit="10" stroke-width="2.613632528" stroke-dasharray=""/></g><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2050.783966927035" y="1302.2424070759996" text-anchor="start" dominant-baseline="alphabetic">k8s.io/client-go/tools/leaderelection</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2106.1720513386563" y="1322.6614112009995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2106.1720513386563" y="1322.6614112009995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="bold" text-decoration="normal" x="2106.1720513386563" y="1322.6614112009995" text-anchor="start" dominant-baseline="alphabetic">LeaderElector</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2223.5123986286953" y="1322.6614112009995" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2223.5123986286953" y="1322.6614112009995" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="1874.4140708153373" y="1285.5804997099997" width="135.23240913453125" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1876.8643513103373" y="1300.2821826799998" text-anchor="start" dominant-baseline="alphabetic">NewLeaderElector()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1851.0002794186705 1306.8162639999996 L 2030.3377374632018 1306.8162639999996" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2033.0602713465353,1306.8162639999996) translate(-2033.0602713465353,-1306.8162639999996)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2019.4476019298686 1300.0099292916664 L 2033.0602713465353 1306.8162639999996 L 2019.4476019298686 1313.6225987083328 Z"/></g></g><g><g><rect fill="white" stroke="none" x="1983.063280195138" y="1364.8879117314998" width="41.548342362070315" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1985.513560690138" y="1379.5895947015" text-anchor="start" dominant-baseline="alphabetic">Run()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1851.0002794186705 1386.1236760214997 L 2153.9520894503426 1386.1236760214997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2156.6746233336758,1386.1236760214997) translate(-2156.6746233336758,-1386.1236760214997)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2143.0619539170093 1379.3173413131665 L 2156.6746233336758 1386.1236760214997 L 2143.0619539170093 1392.930010729833 Z"/></g></g><g><g><rect fill="white" stroke="none" x="2192.3398172053426" y="1410.6264809714996" width="124.66960395875" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2194.7900977003424" y="1425.3281639414997" text-anchor="start" dominant-baseline="alphabetic">acquire leadership</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2173.009826633676 1431.8622452614995 L 2238.350639833676 1431.8622452614995 L 2238.350639833676 1448.1974485614996 L 2175.732360517009 1448.1974485614996" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2173.009826633676,1448.1974485614996) translate(-2173.009826633676,-1448.1974485614996)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2186.6224960503423 1441.3911138531664 L 2173.009826633676 1448.1974485614996 L 2186.6224960503423 1455.0037832698329 Z"/></g></g><g><g><rect fill="white" stroke="none" x="2541.5172750839847" y="1472.7002535114998" width="41.548342362070315" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2543.9675555789845" y="1487.4019364815" text-anchor="start" dominant-baseline="alphabetic">Run()</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2173.009826633676 1493.9360178014997 L 2948.85053201303 1493.9360178014997" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2951.573065896363,1493.9360178014997) translate(-2951.573065896363,-1493.9360178014997)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2937.9603964796966 1487.1296830931665 L 2951.573065896363 1493.9360178014997 L 2937.9603964796966 1500.742352509833 Z"/></g></g><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 2896.782889579195 1533.1405057215 L 2896.782889579195 1533.1405057215 A 14.70168297 14.70168297 0 0 1 2911.484572549195 1518.4388227514999 L 3007.9967625435306 1518.4388227514999 L 3007.9967625435306 1518.4388227514999 A 14.70168297 14.70168297 0 0 1 3022.6984455135307 1533.1405057215 L 3022.6984455135307 1565.8109123214997 L 3022.6984455135307 1565.8109123214997 A 14.70168297 14.70168297 0 0 1 3007.9967625435306 1580.5125952914998 L 2911.484572549195 1580.5125952914998 L 2911.484572549195 1580.5125952914998 A 14.70168297 14.70168297 0 0 1 2896.782889579195 1565.8109123214997 L 2896.782889579195 1533.1405057215" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2919.652174199195" y="1545.3919081964998" text-anchor="start" dominant-baseline="alphabetic"></text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2919.652174199195" y="1545.3919081964998" text-anchor="start" dominant-baseline="alphabetic">This is the</text><text fill="black" stroke="none" font-family="sans-serif" font-size="13.2pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2919.652174199195" y="1565.8109123214997" text-anchor="start" dominant-baseline="alphabetic"> run loop!</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2993.008146489234" y="1565.8109123214997" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><g><rect fill="white" stroke="none" x="2484.0802328476566" y="1605.0154002415" width="156.42242683472656" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2486.5305133426564" y="1619.7170832115" text-anchor="start" dominant-baseline="alphabetic">crash or lost leadership</text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2951.573065896363 1626.2511645314999 L 2175.732360517009 1626.2511645314999" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(2173.009826633676,1626.2511645314999) translate(-2173.009826633676,-1626.2511645314999)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 2186.6224960503423 1619.4448298231666 L 2173.009826633676 1626.2511645314999 L 2186.6224960503423 1633.057499239833 Z"/></g></g><g><g><rect fill="white" stroke="none" x="2001.3871708811732" y="1650.7539694815" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="2003.8374513761732" y="1665.4556524515" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 2156.6746233336758 1671.9897337715 L 1853.722813302004 1671.9897337715" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(1851.0002794186705,1671.9897337715) translate(-1851.0002794186705,-1671.9897337715)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 1864.6129488353372 1665.1833990631667 L 1851.0002794186705 1671.9897337715 L 1864.6129488353372 1678.7960684798331 Z"/></g></g><g><g><rect fill="white" stroke="none" x="1202.790764870225" y="1696.4925387215" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1205.241045365225" y="1711.1942216915002" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 1834.6650761186704 1717.7283030115 L 578.5395484951133 1717.7283030115" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(575.81701461178,1717.7283030115) translate(-575.81701461178,-1717.7283030115)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 589.4296840284467 1710.9219683031668 L 575.81701461178 1717.7283030115 L 589.4296840284467 1724.5346377198332 Z"/></g></g><g><g><rect fill="white" stroke="none" x="445.9410553314452" y="1742.2311079615001" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="448.39133582644524" y="1756.9327909315002" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 559.4818113117799 1763.4668722515 L 340.02339422444396 1763.4668722515" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(337.30086034111065,1763.4668722515) translate(-337.30086034111065,-1763.4668722515)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 350.9135297577773 1756.6605375431668 L 337.30086034111065 1763.4668722515 L 350.9135297577773 1770.2732069598333 Z"/></g></g><g><g><rect fill="white" stroke="none" x="185.4441042468112" y="1787.9696772015002" width="4.90056099" height="21.23576429"/></g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="187.8943847418112" y="1802.6713601715003" text-anchor="start" dominant-baseline="alphabetic"></text></g><g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 320.96565704111066 1809.2054414915 L 57.54564632584506 1809.2054414915" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g transform="translate(54.82311244251173,1809.2054414915) translate(-54.82311244251173,-1809.2054414915)"><path fill="black" stroke="none" paint-order="stroke fill markers" d=" M 68.43578185917839 1802.3991067831669 L 54.82311244251173 1809.2054414915 L 68.43578185917839 1816.0117761998333 Z"/></g></g><path fill="none" stroke="black" paint-order="fill stroke markers" d=" M 8.16760165 1847.0486624698335 L 3081.83239835 1847.0486624698335 M 8.16760165 1852.4937302365001 L 3081.83239835 1852.4937302365001 M 8.16760165 1857.9387980031668 L 3081.83239835 1857.9387980031668" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><path fill="white" stroke="black" paint-order="fill stroke markers" d=" M 1391.780976305293 1833.7082464415 L 1698.2190236947072 1833.7082464415 L 1698.2190236947072 1871.2792140315 L 1391.780976305293 1871.2792140315 Z" stroke-miterlimit="10" stroke-width="1.3612669416666667" stroke-dasharray=""/><g><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1414.650260925293" y="1856.5775310615002" text-anchor="start" dominant-baseline="alphabetic">made with https:</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1521.366081237793" y="1856.5775310615002" text-anchor="start" dominant-baseline="alphabetic">//</text><text fill="black" stroke="none" font-family="sans-serif" font-size="11pt" font-style="normal" font-weight="normal" text-decoration="normal" x="1529.5100326538086" y="1856.5775310615002" text-anchor="start" dominant-baseline="alphabetic">sequencediagram.org/</text></g></g></g></svg>
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
title K8S Scheduler Configuration Handling
# Paste into https://sequencediagram.org/
participant "command line\nflags" as flags
participant "k8s.io/kubernetes/cmd/kube-scheduler/options\n++**Options**++" as Options
participant "k8s.io/kubernetes/cmd/kube-scheduler/config\n++**Config**++" as Config
participant "k8s.io/kubernetes/pkg/apis/componentconfig/v1alpha1\n++**KubeSchedulerConfiguration**++" as componentConfig
participant "k8s.io/kubernetes/cmd/kube-scheduler/config\n++**CompletedConfig**++" as CompletedConfig
participant "k8s.io/kubernetes/pkg/scheduler/api\n++**Policy**++" as Policy
participant "k8s.io/kubernetes/pkg/scheduler\n++**Configurator**++" as Configurator
participant "k8s.io/kubernetes/pkg/scheduler\n++**Config**++" as schedConfig
participant "k8s.io/kubernetes/pkg/scheduler\n++**Scheduler**++" as Scheduler
flags --> Options: parsed into fields of
destroysilent flags
Options -> *Config:
Options --> Config: ApplyTo() fills out some fields
Options -> *componentConfig: loadConfigFromFile()
componentConfig --> Options: member of
destroysilent componentConfig
Options --> Config: Config() fills out other fields
destroysilent Options
Config -> *CompletedConfig: Complete() applies some defaults
destroysilent Config
CompletedConfig -> *Configurator: NewConfigFactory()
abox left of CompletedConfig: Either a provider name or a Policy object is used
CompletedConfig -> *Policy: reads from ComponentConfig or separate file
destroysilent CompletedConfig
Configurator ->(3) *schedConfig: CreateFromProvider(string)\n or\nCreateFromConfig(Policy)
destroysilent Configurator
space -7.1
Policy -> *schedConfig:
destroysilent Policy
schedConfig -> *Scheduler: NewFromConfig()
destroysilent schedConfig
note over Scheduler: now we can call Run()
==made with https://sequencediagram.org/==
title K8S Scheduler Application Lifecycle
# Paste into https://sequencediagram.org/
participant "main()" as main
participant "command" as command
participant "anonymous\nfunc" as anonFunc
participant "k8s.io/kubernetes/cmd/kube-scheduler/options\n++**Options**++" as Options
participant "k8s.io/kubernetes/cmd/kube-scheduler/config\n++**Config**++" as Config
participant "k8s.io/kubernetes/cmd/kube-scheduler/config\n++**CompletedConfig**++" as CompletedConfig
participant "k8s.io/kubernetes/cmd/kube-scheduler/app\n++**func Run(CompletedConfig)**++" as appPkg
participant "k8s.io/client-go/tools/leaderelection\n++**LeaderElector**++" as LeaderElector
participant "k8s.io/kubernetes/pkg/scheduler\n++**Configurator**++" as Configurator
participant "k8s.io/kubernetes/pkg/scheduler\n++**Config**++" as schedulerConfig
participant "k8s.io/kubernetes/pkg/scheduler\n++**Scheduler**++" as scheduler
activate main
main->*command: NewSchedulerCommand()
note left of command:This is a\nCobra command
space -5
command->*anonFunc:value of `Run` field
#space -6
#rbox over main: flags get parsed\ninto `Options`
main->*Options: flags get parsed
main->command: Execute()
activate command
command->anonFunc:
activate anonFunc
anonFunc->>Options: Validate()
linear on
anonFunc->Options: Config()
space -5
Options->*Config:
destroysilent Options
linear off
linear on
anonFunc->Config:Complete()
space -5
Config->*CompletedConfig:
destroysilent Config
linear off
CompletedConfig-->(3)appPkg:
space -3
destroysilent CompletedConfig
activate appPkg
space -2
anonFunc->appPkg:
#activate appPkg
appPkg->*Configurator: NewConfigFactory(CompletedConfig)
abox over Configurator:++Informer event handlers\nare added here++
linear on
appPkg->Configurator: NewSchedulerConfig()
destroysilent Configurator
space -5
Configurator->*schedulerConfig:
schedulerConfig-->(4)*scheduler:
linear off
space -7.1
destroysilent schedulerConfig
appPkg->*scheduler:NewFromConfig(Config)
abox over appPkg:++Informers and broadcasters\nare started here++
appPkg->*LeaderElector:NewLeaderElector()
appPkg->LeaderElector: Run()
activate LeaderElector
LeaderElector->LeaderElector: acquire leadership
LeaderElector->scheduler: Run()
activate scheduler
rbox over scheduler:++This is the\n run loop!++
# Unroll the stack here
scheduler->LeaderElector: crash or lost leadership
deactivate scheduler
LeaderElector->appPkg:
deactivate LeaderElector
appPkg->anonFunc:
deactivate appPkg
anonFunc->command:
deactivate anonFunc
command->main:
deactivate command
deactivate main
==made with https://sequencediagram.org/==
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment