fix: improve network topology diagram

This commit is contained in:
luochen570
2026-05-24 09:56:20 +08:00
parent ea073ed66a
commit 33bdb04495

View File

@@ -21,21 +21,30 @@ categories:
## 网络拓扑
```
公网
┌─────────────────────────────────────────────────────┐
│ 公网 │
│ x.x.x.x:6443 │
└──────────────────────┬──────────────────────────────┘
x.x.x.x
┌──────┴──────┐
agent-ali │ ← 唯一暴露公网的节点
│ (HAProxy) │ 运行 HAProxy 代理 k3s API
└──────┬──────┘
│ Tailscale (100.100.x.x)
┌────────────────────────────
▼ ▼ ▼
──────────┐ ┌──────────┐ ┌──────────
│ server-jz│ │server-jz2│ │server-zen
│ 私有云 │ 私有云 │ │ 私有云 │
│ CP+etcd │ CP+etcd │ │ CP+etcd │
└──────────┘ └──────────┘ └──────────┘
┌─────────────────────────────────────────────────────┐
agent-ali
│ ┌─────────────────────────────────────────────────┐ │
│ HAProxy │ │
│ │ bind *:6443 → roundrobin │ │
frontend ───┐ ┌── backend ───────────────── │ │
│ └────────────────┼──┼─────────────────────────────┘ │
───────────────────────────────────────────────────┘
Tailscale│ │ 100.100.x.x
┌─────────┼──┼─────────┐
│ │ │ │
▼ ▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ server-jz │ │ server-jz2 │ │ server-zen │
│ CP + etcd │ │ CP + etcd │ │ CP + etcd │
│ 私有云 │ │ 私有云 │ │ 私有云 │
└──────────────┘ └──────────────┘ └──────────────┘
```
- **只有 `agent-ali` 有公网 IP**,其余节点均通过 Tailscale 内网互通