Cross-cloud routing, reachability, and egress¶
A mixed-cloud deployment has three network paths, and they have different requirements. Two are satisfied by ordinary outbound access; the third is the one a mixed-cloud deployment adds.
flowchart TB
subgraph a["Cloud A"]
N1["xratud"]
F1["Fabric agent"]
end
subgraph b["Cloud B"]
N2["xratud"]
F2["Fabric agent"]
end
CP["Control plane"]
N1 -- "1 outbound HTTPS" --> CP
N2 -- "1 outbound HTTPS" --> CP
N1 -- "2 outbound to registry<br/>and bucket" --> S1["Cloud A storage"]
N2 -- "2 outbound to registry<br/>and bucket" --> S2["Cloud B storage"]
F1 <-- "3 UDP 51820" --> F2
1. Node to control plane¶
Outbound HTTPS from every cluster to the control-plane endpoint. The relationship is node-initiated in both directions of data flow: the node registers, heartbeats, pulls assignments and reports.
The endpoint has to resolve and be reachable from every cloud that hosts nodes. A port-forward reaches one cluster from one workstation, so a mixed-cloud deployment needs an endpoint each cluster can reach. See API exposure options.
2. Node to its own registry and bucket¶
Outbound from the node to storage on its own cloud. Each installation names its own registry and bucket, and the node's cloud identity is what reaches them.
Keeping each installation's storage on its own cloud keeps this path inside one provider. A node writing to another cloud's bucket is refused before the write:
3. Fabric agent to fabric agent¶
UDP 51820 between the two fabric agents. This is the path that carries binding
traffic when a project on one cloud reaches a model on another.
The rendered Service is ClusterIP, and model binding routes are admitted as private only. Reachability between the two agents therefore comes from network connectivity you establish between the clusters: VPC peering, a cloud interconnect, a transit gateway, or a site-to-site VPN.
| Requirement | Satisfied by |
|---|---|
| A route between the two cluster networks | Peering, interconnect, transit gateway or VPN |
UDP 51820 permitted between the fabric agent endpoints |
Your firewall and security group rules |
| Stable addressing for the peer | Your network design |
Without that path the route reconciles to route_pending and the readiness
evidence reports wireguard_peer_not_connected.
Egress from the fabric agent¶
The rendered NetworkPolicy is asymmetric:
ingress:
- from:
- podSelector:
matchLabels:
app.kubernetes.io/name: xratud
ports:
- protocol: TCP
port: 7443
egress:
- {}
Ingress is restricted to xratud on the gRPC port. Egress is open at the
policy layer, so what the agent can reach is decided by your cluster network
and firewall rather than by the policy.
Reading a connectivity failure¶
| Reported | Path | Where to look |
|---|---|---|
| Node never registers | 1 | Endpoint resolution and reachability from that cluster |
| Node enrolls, cannot pull its image | 2 | Registry grant, registry root, or egress to the registry |
wireguard_peer_not_connected |
3 | Network path and UDP 51820 between the clusters |
private_handshake_pending |
3 | The path exists and the handshake has yet to complete |
gateway_probe_not_healthy |
None | The tunnel is up; the model's export gateway is not |
public_exposure_detected |
None | The route observed public exposure and is blocked |
The last three mean path 3 is working. See The fabric agent for the order these are evaluated in.