109 lines
8.7 KiB
XML
109 lines
8.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="1198" height="489" viewBox="0 0 1198 489" role="img" aria-labelledby="diagram-title diagram-description">
|
|
<title id="diagram-title">L7 두 홉과 진입점 이중화 재귀</title>
|
|
<desc id="diagram-description">왼쪽의 정상 경로는 브라우저가 TLS를 edge nginx에서 종료하고 고정 노드 IP로 전달한 뒤, Traefik이 동적으로 Pod를 고르는 흐름이다. 아래쪽 이중화 경로는 nginx-1과 nginx-2 앞에 selector를 두면 어느 nginx로 갈지 정할 수 있지만 selector 자체가 새 SPOF가 되어 같은 질문이 반복된다는 점을 보여 준다. VRRP·DNS·BGP·클라우드 LB 같은 재귀 종료 방식의 상세 비교는 본문 표에 남기고 그림에는 넣지 않는다.</desc>
|
|
<metadata>{"techviz":{"spec_version":"1.1","id":"two-l7-hops-entry-recursion","profile":"component-flow"},"source_context":{"document":"docs/virtualization/final/document.md","document_sha256":"8c4ecc64c8cea9a4450ed7131fdd9cb2048dc092b66cd969f6346ed77887c210","anchor":{"kind":"heading","value":"261. 진입점 자체가 죽으면 — 로드밸런서의 재귀 문제","line":15796}},"evidence_policy":"Each factual element cites source lines or is marked assumption.","diagram_only":true}</metadata>
|
|
<defs>
|
|
<marker id="arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse">
|
|
<path d="M 0 0 L 10 5 L 0 10 z" />
|
|
</marker>
|
|
<style>
|
|
:root { color-scheme: light; }
|
|
text { font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; fill: #111827; }
|
|
.canvas { fill: #ffffff; }
|
|
.group-box { fill: #ffffff; stroke: #9ca3af; stroke-width: 1.4; stroke-dasharray: 7 5; }
|
|
.group-label-bg { fill: #ffffff; }
|
|
.group-label { font-size: 13px; font-weight: 650; fill: #374151; }
|
|
.edge { fill: none; stroke: #374151; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; marker-end: url(#arrow); }
|
|
.edge.style-dashed, .edge.semantic-dashed, .edge.assumption { stroke-dasharray: 7 5; }
|
|
.edge.style-dotted { stroke-dasharray: 2 5; }
|
|
.edge.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.edge.emphasis-muted { stroke: #9ca3af; }
|
|
.edge.emphasis-warning, .edge.kind-failure, .edge.kind-error { stroke: #dc2626; stroke-width: 2.2; }
|
|
.edge-label-bg { fill: #ffffff; }
|
|
.edge-label { font-size: 12px; font-weight: 560; text-anchor: middle; }
|
|
.node-shape { fill: #ffffff; stroke: #4b5563; stroke-width: 1.7; }
|
|
.node-shape.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-shape.emphasis-muted { stroke: #9ca3af; fill: #f9fafb; }
|
|
.node-shape.emphasis-warning { stroke: #d97706; stroke-width: 2; fill: #fffdf5; }
|
|
.node-shape.kind-database, .node-shape.kind-datastore, .node-shape.kind-storage { fill: #f8fafc; }
|
|
.node-shape.kind-queue, .node-shape.kind-event, .node-shape.kind-topic { fill: #fafafa; }
|
|
.node-shape.assumption { stroke-dasharray: 4 4; }
|
|
.storage-bottom, .controller-divider { fill: none; stroke: #4b5563; stroke-width: 1.4; }
|
|
.controller-led { fill: #4b5563; }
|
|
.actor-symbol { fill: none; stroke: #4b5563; stroke-width: 1.8; stroke-linecap: round; }
|
|
.actor-symbol.emphasis-primary { stroke: #2563eb; stroke-width: 2.2; }
|
|
.node-label { font-size: 14px; font-weight: 650; text-anchor: middle; }
|
|
.node-role { font-size: 10px; letter-spacing: 0.04em; text-anchor: middle; fill: #6b7280; }
|
|
.node-detail-divider { stroke: #d1d5db; stroke-width: 1; }
|
|
.node-detail { font-size: 11px; fill: #374151; }
|
|
.assumption-badge { font-size: 9px; font-weight: 700; fill: #92400e; }
|
|
.failure-mark { stroke: #dc2626; stroke-width: 4; stroke-linecap: round; }
|
|
.lifeline { stroke: #9ca3af; stroke-width: 1.2; stroke-dasharray: 5 5; }
|
|
.timeline-axis { stroke: #374151; stroke-width: 1.8; marker-end: url(#arrow); }
|
|
.timeline-stem { stroke: #6b7280; stroke-width: 1.3; }
|
|
.timeline-marker { fill: #ffffff; stroke: #374151; stroke-width: 1.7; }
|
|
.timeline-marker.primary { fill: #2563eb; stroke: #2563eb; }
|
|
.timeline-marker.warning { fill: #dc2626; stroke: #dc2626; }
|
|
.timeline-label { font-size: 13px; font-weight: 650; text-anchor: middle; }
|
|
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
|
|
</style>
|
|
</defs>
|
|
<rect class="canvas" width="1198" height="489" />
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="220.0,180.5 300.8,180.5 300.8,112.5 381.5,112.5" data-evidence="15860-15864" />
|
|
<rect class="edge-label-bg" x="299.0" y="132.5" width="51.5" height="22" rx="3" />
|
|
<text class="edge-label" x="324.8" y="147.5">HTTPS</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="531.5,112.5 612.2,112.5 612.2,252.0 693.0,252.0" data-evidence="15872-15882" />
|
|
<rect class="edge-label-bg" x="587.0" y="168.2" width="98.4" height="22" rx="3" />
|
|
<text class="edge-label" x="636.2" y="183.2">노드 선택 · HTTP</text>
|
|
<polyline class="edge kind-request style-dashed emphasis-normal" points="220.0,339.0 300.0,339.0 300.0,408.5 380.0,408.5" data-evidence="15941-15945" />
|
|
<rect class="edge-label-bg" x="288.2" y="359.8" width="71.6" height="22" rx="3" />
|
|
<text class="edge-label" x="324.0" y="374.8">nginx 선택</text>
|
|
<polyline class="edge kind-result style-dashed emphasis-normal" points="220.0,321.0 300.8,321.0 300.8,269.0 381.5,269.0" data-evidence="15941-15952" />
|
|
<rect class="edge-label-bg" x="278.9" y="281.0" width="91.7" height="22" rx="3" />
|
|
<text class="edge-label" x="324.8" y="296.0">단일 selector</text>
|
|
<polyline class="edge kind-request style-solid emphasis-normal" points="843.0,252.0 923.0,252.0 923.0,252.0 1003.0,252.0" data-evidence="15860-15882" />
|
|
<rect class="edge-label-bg" x="863.8" y="210.0" width="118.5" height="22" rx="3" />
|
|
<text class="edge-label" x="923.0" y="225.0">Ingress routing</text>
|
|
<g id="node-browser">
|
|
<g class="actor-symbol emphasis-normal" data-evidence="15860-15864"><circle cx="145.0" cy="158.5" r="11.0" /><line x1="145.0" y1="174.5" x2="145.0" y2="193.5" /><line x1="127.0" y1="184.5" x2="163.0" y2="184.5" /><line x1="145.0" y1="193.5" x2="130.0" y2="210.5" /><line x1="145.0" y1="193.5" x2="160.0" y2="210.5" /></g>
|
|
<text class="node-label" x="145.0" y="215.5">Browser</text>
|
|
</g>
|
|
<g id="node-selector">
|
|
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="15941-15945" x="70.0" y="294.5" width="150.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="145.0" y="321.5">앞단 selector</text>
|
|
<line class="node-detail-divider" x1="84.0" y1="342.5" x2="206.0" y2="342.5" />
|
|
<text class="node-detail" x="86.0" y="359.5">edge redundancy</text>
|
|
</g>
|
|
<g id="node-edge-nginx">
|
|
<rect class="node-shape kind-service emphasis-primary role-service" data-evidence="15860-15882" x="381.5" y="60.0" width="150.0" height="105.0" rx="7" />
|
|
<text class="node-label" x="456.5" y="87.0">edge nginx</text>
|
|
<line class="node-detail-divider" x1="395.5" y1="108.0" x2="517.5" y2="108.0" />
|
|
<text class="node-detail" x="397.5" y="125.0">L7</text>
|
|
<text class="node-detail" x="397.5" y="141.0">TLS 종료</text>
|
|
<text class="node-detail" x="397.5" y="157.0">고정 노드 선택</text>
|
|
</g>
|
|
<g id="node-new-spof">
|
|
<rect class="node-shape kind-result emphasis-normal role-sink" data-evidence="15941-15952" x="381.5" y="237.0" width="150.0" height="64.0" rx="7" />
|
|
<text class="node-label" x="456.5" y="267.0">selector가 새 SPOF</text>
|
|
</g>
|
|
<g id="node-nginx-pair">
|
|
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="15934-15944" x="380.0" y="373.0" width="153.0" height="71.0" rx="7" />
|
|
<text class="node-label" x="456.5" y="400.0">nginx-1 · nginx-2</text>
|
|
<line class="node-detail-divider" x1="394.0" y1="421.0" x2="519.0" y2="421.0" />
|
|
<text class="node-detail" x="396.0" y="438.0">서로 다른 머신</text>
|
|
</g>
|
|
<g id="node-traefik">
|
|
<rect class="node-shape kind-service emphasis-normal role-service" data-evidence="15872-15882" x="693.0" y="199.5" width="150.0" height="105.0" rx="7" />
|
|
<text class="node-label" x="768.0" y="226.5">Traefik</text>
|
|
<line class="node-detail-divider" x1="707.0" y1="247.5" x2="829.0" y2="247.5" />
|
|
<text class="node-detail" x="709.0" y="264.5">L7</text>
|
|
<text class="node-detail" x="709.0" y="280.5">Ingress</text>
|
|
<text class="node-detail" x="709.0" y="296.5">동적 Pod 선택</text>
|
|
</g>
|
|
<g id="node-pod">
|
|
<rect class="node-shape kind-runtime emphasis-normal role-sink" data-evidence="15860-15864" x="1003.0" y="220.0" width="150.0" height="64.0" rx="7" />
|
|
<text class="node-label" x="1078.0" y="250.0">Pod</text>
|
|
</g>
|
|
</svg>
|