diff --git a/Architecture.md b/Architecture.md index 73e9e29..4e5d64a 100644 --- a/Architecture.md +++ b/Architecture.md @@ -5,7 +5,9 @@ create a tunnel with port-forward, add route to virtual interface, like tun0, fo ┌─────────────────────┐ ┌──────────┐ │ pod traffic manager ├───►│ ServiceC │ └─────────┌───────────┘ └──────────┘ - │ │ + │ │ cloud +─ ─ ─ ─ ─ ┘─ ─ ─ ─ ─ ─ ─ ─ ─┘─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ + │ │ local ┌────┘─────┐ │ │ ServiceB'├───────────┘ └──────────┘ @@ -19,6 +21,9 @@ base on connect mode, inject a container to controller, use iptables to block al │ ServiceA ├───►│ sidecar │ ServiceB │ ┌─►│ ServiceC │ └──────────┘ └────┌────┘──────────┘ │ └──────────┘ │ │ + │ │ cloud +─ ─ ─ ─ ─ ┘─ ─ ─ ─ ─ ┘─ ─ ─ ─ ─ ─ ─ ─ ─┘ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ + │ │ local ┌───┘──────┐ │ │ ServiceB'├──────────┘ └──────────┘ @@ -30,6 +35,9 @@ base on reverse mode, using envoy as proxy, if headers have special key-value pa ┌──────────┐ ┌─────────┌────────────┐ ┌──────────┐ │ ServiceA ├───►│ sidecar ├─► ServiceB │─►┌─►│ ServiceC │ └──────────┘ └────┌────┘────────────┘ │ └──────────┘ + │ │ cloud +─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─┘─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ┘ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ ─ + │ │ local header: a=1 │ ┌───┘──────┐ │ │ ServiceB'├─────────────┘