fix: improve network topology diagram

This commit is contained in:
2026-05-24 09:56:20 +08:00
parent ea073ed66a
commit 33bdb04495
+21 -12
View File
@@ -21,21 +21,30 @@ categories:
## 网络拓扑 ## 网络拓扑
``` ```
公网 ┌─────────────────────────────────────────────────────┐
│ 公网 │
│ x.x.x.x:6443 │
└──────────────────────┬──────────────────────────────┘
│ │
x.x.x.x ▼
┌──────┴──────┐ ┌─────────────────────────────────────────────────────┐
│ agent-ali │ ← 唯一暴露公网的节点 │ agent-ali │
│ (HAProxy) │ 运行 HAProxy 代理 k3s API │ ┌─────────────────────────────────────────────────┐ │
└──────┬──────┘ │ │ HAProxy │ │
│ Tailscale (100.100.x.x) │ │ bind *:6443 → roundrobin │ │
┌──────────────┼──────────────┐ │ │ frontend ───┐ ┌── backend ───────────────── │ │
▼ ▼ ▼ │ └────────────────┼──┼─────────────────────────────┘ │
┌──────────┐ ┌──────────┐ ┌──────────┐ └───────────────────┼──┼──────────────────────────────┘
│ │
Tailscale│ │ 100.100.x.x
┌─────────┼──┼─────────┐
│ │ │ │
▼ ▼ ▼ ▼
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ server-jz │ │ server-jz2 │ │ server-zen │ │ server-jz │ │ server-jz2 │ │ server-zen │
│ 私有云 │ │ 私有云 │ │ 私有云 │
│ CP + etcd │ │ CP + etcd │ │ CP + etcd │ │ CP + etcd │ │ CP + etcd │ │ CP + etcd │
└──────────┘ └──────────┘ └──────────┘ │ 私有云 │ │ 私有云 │ │ 私有云 │
└──────────────┘ └──────────────┘ └──────────────┘
``` ```
- **只有 `agent-ali` 有公网 IP**,其余节点均通过 Tailscale 内网互通 - **只有 `agent-ali` 有公网 IP**,其余节点均通过 Tailscale 内网互通