nordisk/gunnar
assets/gunnar-setup-2.svg
<svg xmlns="http://www.w3.org/2000/svg" width="691" height="380" viewBox="0 0 691 380" font-family="monospace" font-size="13">
<!-- GENERATED by `cargo xtask svg` from xtask/src/setup_svg.rs. Do not hand-edit:
every arrow starts on the box the verb is typed against, and moving a line
instead of the model is how a diagram starts telling an operator to run
`promote` on the wrong machine. -->
<style>
.box{rx:6;ry:6;stroke-width:1.5}
.dim{fill:#9a948a}
.hdr{fill:#e8e4da;font-size:15px;font-weight:bold}
.kick{fill:#9a948a;font-size:11px}
.name{fill:#e8e4da;font-size:14px;font-weight:bold}
.verb{font-size:12px;font-weight:bold}
.note{fill:#9a948a;font-size:11px}
.flow{stroke:#6fd3f5;stroke-width:1.6;fill:none;marker-end:url(#flow)}
.flip{stroke:#4fae76;stroke-width:1.6;fill:none;marker-end:url(#flip);stroke-dasharray:4 3}
</style>
<defs>
<marker id="flow" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#6fd3f5"/></marker>
<marker id="flip" markerWidth="9" markerHeight="9" refX="7" refY="3" orient="auto"><path d="M0,0 L7,3 L0,6 Z" fill="#4fae76"/></marker>
</defs>
<rect width="691" height="380" fill="#14110d"/>
<text x="16" y="28" class="hdr">§2 · the console beside it</text>
<text x="16" y="50" class="dim">gunnar-ui is one process pointed at one control plane; a browser reaches it on :3210</text>
<g transform="translate(-284 8)">
<text x="300" y="68" class="kick">the remote</text>
<rect class="box" x="300" y="76" width="280" height="76" fill="#2a2438" stroke="#9a7fc0"/>
<text x="312" y="100" class="name">gunnar-ui</text>
<text x="312" y="120" class="dim">gunnar-ui-server + trunk dist</text>
<text x="312" y="137" class="dim">GUNNAR_UI_CONTROL points here ↓</text>
<text x="300" y="206" class="kick">the main device</text>
<rect class="box" x="300" y="214" width="280" height="120" fill="#123448" stroke="#4f9ec0"/>
<text x="312" y="238" class="name">primary appliance</text>
<text x="312" y="258" class="dim">writable — clients push here</text>
<text x="312" y="275" class="dim">git-ssh :2222 · control :50051</text>
<text x="312" y="292" class="dim">/data survives a reinstall</text>
<path class="flow" d="M440,158 L440,208"/>
<text x="450" y="187" text-anchor="start" class="verb" fill="#6fd3f5">gRPC :50051</text>
<text x="450" y="202" text-anchor="start" class="note">sshsig, no TLS</text>
</g>
<text x="16" y="366" class="dim">GUNNAR_UI_CONTROL is the only thing a failover changes about the console</text>
</svg>