Interview Prep/Networking/Kubernetes Networking

How do you connect services across two Kubernetes clusters?

AdvancedScenarioKubernetes Networking
Answer

Situation read → Options range from simple DNS to full multi-cluster meshes.

What I'd do →

  1. Simple: expose services through internal load balancers and private DNS names
  2. Network-level: non-overlapping pod CIDRs plus routing (TGW, peering) or Cilium Cluster Mesh
  3. Service-level: Istio multi-cluster or the Multi-Cluster Services API (ServiceExport)
  4. Keep identity consistent with shared root CA
  5. Test failover by killing a cluster's endpoints

Why → Cross-cluster calls multiply failure modes, so start with the simplest path that meets the requirement.

Interview tip → Say overlapping pod CIDRs are why you plan before the first cluster.

All Networking questions Roadmap: Networking for DevOps

More on Kubernetes Networking