refactor: 문서 개선 중

This commit is contained in:
donghyeon-ka
2026-09-21 14:30:55 +09:00
parent c93cdea150
commit 805a18f486
1497 changed files with 525837 additions and 59152 deletions
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="1045" height="456" viewBox="0 0 1045 456" role="img" aria-labelledby="diagram-title diagram-description">
<svg xmlns="http://www.w3.org/2000/svg" width="1260" height="319" viewBox="0 0 1260 319" role="img" aria-labelledby="diagram-title diagram-description">
<title id="diagram-title">실험대의 구성</title>
<desc id="diagram-description">베어메탈 test-server 위에 VM 두 대를 올렸다. kc-lab-1 이 k3s server 이자 컨트롤 플레인이고 keycloak-1 이 여기 있다. kc-lab-2 는 agent 이며 keycloak-0 과 PostgreSQL, Redis 가 함께 있다. 저장소가 한 노드에 몰려 있어 그 노드를 잃으면 DB 도 같이 잃는다. 호스트 nginx 가 Let&#x27;s Encrypt 인증서로 TLS 를 끝내고 traefik 으로 넘기며, 인증서 하나에 auth·app1·app2 세 이름이 SAN 으로 들어 있다.</desc>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;lab-topology&quot;,&quot;profile&quot;:&quot;query-fanout&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;1d44cba1905544d92f1d26ae36a8deb64a3db3914d6b488fd30d6ae7f8cfbabe&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;실험대&quot;,&quot;line&quot;:85}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;:true}</metadata>
<metadata>{&quot;techviz&quot;:{&quot;spec_version&quot;:&quot;1.1&quot;,&quot;id&quot;:&quot;lab-topology&quot;,&quot;profile&quot;:&quot;component-flow&quot;},&quot;source_context&quot;:{&quot;document&quot;:&quot;docs/keycloak-session-store/final/document.md&quot;,&quot;document_sha256&quot;:&quot;28aef96a2bbb94fbb10ade26a71238fee62a5a4d9fa6e7749ae98cfd0a65e560&quot;,&quot;anchor&quot;:{&quot;kind&quot;:&quot;heading&quot;,&quot;value&quot;:&quot;실험대&quot;,&quot;line&quot;:120}},&quot;evidence_policy&quot;:&quot;Each factual element cites source lines or is marked assumption.&quot;,&quot;diagram_only&quot;: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" />
@@ -49,49 +49,49 @@
.timeline-detail { font-size: 11px; fill: #4b5563; text-anchor: middle; }
</style>
</defs>
<rect class="canvas" width="1045" height="456" />
<polyline class="edge kind-read style-solid emphasis-normal" points="1000.0,211.0 872.5,211.0 872.5,338.5 745.0,338.5" data-evidence="86-87" />
<rect class="edge-label-bg" x="870.8" y="260.8" width="51.5" height="22" rx="3" />
<text class="edge-label" x="896.5" y="275.8">같은 노드</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="465.0,375.5 495.0,375.5 495.0,119.0 440.0,119.0 440.0,190.5 470.0,190.5" data-evidence="88-92" />
<rect class="edge-label-bg" x="489.9" y="170.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="519.0" y="185.0">TLS 종단</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="645.0,199.5 695.0,199.5 695.0,211.0 745.0,211.0" data-evidence="85-87" />
<rect class="edge-label-bg" x="697.0" y="191.2" width="44.0" height="22" rx="3" />
<text class="edge-label" x="719.0" y="206.2">라우팅</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="645.0,181.5 695.0,181.5 695.0,86.0 745.0,86.0" data-evidence="85-87" />
<rect class="edge-label-bg" x="697.0" y="119.8" width="44.0" height="22" rx="3" />
<text class="edge-label" x="719.0" y="134.8">라우팅</text>
<g id="node-traefik">
<polygon class="node-shape kind-gateway emphasis-normal role-control" data-evidence="85-87" points="557.5,155.0 645.0,190.5 557.5,226.0 470.0,190.5" />
<text class="node-label" x="557.5" y="182.0">traefik (kc-lab-1)</text>
<line class="node-detail-divider" x1="484.0" y1="203.0" x2="631.0" y2="203.0" />
<text class="node-detail" x="486.0" y="220.0">k3s server 노드</text>
<rect class="canvas" width="1260" height="319" />
<polyline class="edge kind-read style-solid emphasis-normal" points="895.0,95.5 975.0,95.5 975.0,167.0 1055.0,167.0" data-evidence="122-122" />
<rect class="edge-label-bg" x="973.2" y="117.2" width="51.5" height="22" rx="3" />
<text class="edge-label" x="999.0" y="132.2">같은 노드</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="265.0,167.0 345.0,167.0 345.0,167.0 425.0,167.0" data-evidence="123-127" />
<rect class="edge-label-bg" x="315.9" y="125.0" width="58.2" height="22" rx="3" />
<text class="edge-label" x="345.0" y="140.0">TLS 종단</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="585.0,158.0 665.0,158.0 665.0,95.5 745.0,95.5" data-evidence="120-122" />
<rect class="edge-label-bg" x="667.0" y="112.8" width="44.0" height="22" rx="3" />
<text class="edge-label" x="689.0" y="127.8">라우팅</text>
<polyline class="edge kind-request style-solid emphasis-normal" points="585.0,176.0 665.0,176.0 665.0,238.5 745.0,238.5" data-evidence="120-122" />
<rect class="edge-label-bg" x="667.0" y="193.2" width="44.0" height="22" rx="3" />
<text class="edge-label" x="689.0" y="208.2">라우팅</text>
<g id="node-nginx">
<polygon class="node-shape kind-gateway emphasis-primary role-source" data-evidence="123-127" points="167.5,131.5 265.0,167.0 167.5,202.5 70.0,167.0" />
<text class="node-label" x="167.5" y="158.5">호스트 nginx</text>
<line class="node-detail-divider" x1="84.0" y1="179.5" x2="251.0" y2="179.5" />
<text class="node-detail" x="86.0" y="196.5">SAN: auth · app1 · app2</text>
</g>
<g id="node-keycloak-1">
<rect class="node-shape kind-service emphasis-primary role-shard" data-evidence="85-86" x="745.0" y="40.0" width="255.0" height="92.0" rx="7" />
<text class="node-role" x="872.5" y="59.0">«shard»</text>
<text class="node-label" x="872.5" y="86.0">keycloak-1</text>
<line class="node-detail-divider" x1="759.0" y1="107.0" x2="986.0" y2="107.0" />
<text class="node-detail" x="761.0" y="124.0">kc-lab-1</text>
<g id="node-traefik">
<polygon class="node-shape kind-gateway emphasis-normal role-control" data-evidence="120-122" points="505.0,131.5 585.0,167.0 505.0,202.5 425.0,167.0" />
<text class="node-label" x="505.0" y="158.5">traefik (kc-lab-1)</text>
<line class="node-detail-divider" x1="439.0" y1="179.5" x2="571.0" y2="179.5" />
<text class="node-detail" x="441.0" y="196.5">k3s server 노드</text>
</g>
<g id="node-keycloak-0">
<rect class="node-shape kind-service emphasis-primary role-shard" data-evidence="86-87" x="745.0" y="165.0" width="255.0" height="92.0" rx="7" />
<text class="node-role" x="872.5" y="184.0">«shard»</text>
<text class="node-label" x="872.5" y="211.0">keycloak-0</text>
<line class="node-detail-divider" x1="759.0" y1="232.0" x2="986.0" y2="232.0" />
<text class="node-detail" x="761.0" y="249.0">kc-lab-2</text>
<rect class="node-shape kind-service emphasis-primary role-shard" data-evidence="122-122" x="745.0" y="60.0" width="150.0" height="71.0" rx="7" />
<text class="node-role" x="820.0" y="79.0">«shard»</text>
<text class="node-label" x="820.0" y="106.0">keycloak-0</text>
<line class="node-detail-divider" x1="759.0" y1="127.0" x2="881.0" y2="127.0" />
<text class="node-detail" x="761.0" y="144.0">kc-lab-2</text>
</g>
<g id="node-keycloak-1">
<rect class="node-shape kind-service emphasis-primary role-shard" data-evidence="120-120" x="745.0" y="203.0" width="150.0" height="71.0" rx="7" />
<text class="node-role" x="820.0" y="222.0">«shard»</text>
<text class="node-label" x="820.0" y="249.0">keycloak-1</text>
<line class="node-detail-divider" x1="759.0" y1="270.0" x2="881.0" y2="270.0" />
<text class="node-detail" x="761.0" y="287.0">kc-lab-1</text>
</g>
<g id="node-stores">
<rect class="node-shape kind-datastore emphasis-warning role-store" data-evidence="86-87" x="745.0" y="303.0" width="255.0" height="71.0" /><ellipse class="node-shape kind-datastore emphasis-warning role-store" cx="872.5" cy="303.0" rx="127.5" ry="13.0" /><path class="storage-bottom" d="M 745.0 374.0 A 127.5 13.0 0 0 0 1000.0 374.0" />
<text class="node-label" x="872.5" y="330.0">PostgreSQL · Redis</text>
<line class="node-detail-divider" x1="759.0" y1="351.0" x2="986.0" y2="351.0" />
<text class="node-detail" x="761.0" y="368.0">kc-lab-2</text>
</g>
<g id="node-nginx">
<polygon class="node-shape kind-gateway emphasis-primary role-source" data-evidence="88-92" points="367.5,340.0 465.0,375.5 367.5,411.0 270.0,375.5" />
<text class="node-label" x="367.5" y="367.0">호스트 nginx</text>
<line class="node-detail-divider" x1="284.0" y1="388.0" x2="451.0" y2="388.0" />
<text class="node-detail" x="286.0" y="405.0">SAN: auth · app1 · app2</text>
<rect class="node-shape kind-datastore emphasis-warning role-store" data-evidence="122-122" x="1055.0" y="143.3" width="160.0" height="47.3" /><ellipse class="node-shape kind-datastore emphasis-warning role-store" cx="1135.0" cy="143.3" rx="80.0" ry="11.8" /><path class="storage-bottom" d="M 1055.0 190.7 A 80.0 11.8 0 0 0 1215.0 190.7" />
<text class="node-label" x="1135.0" y="158.5">PostgreSQL · Redis</text>
<line class="node-detail-divider" x1="1069.0" y1="179.5" x2="1201.0" y2="179.5" />
<text class="node-detail" x="1071.0" y="196.5">kc-lab-2</text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 7.8 KiB

After

Width:  |  Height:  |  Size: 7.8 KiB