Connect services across clusters
Last validated:
You can use the Tailscale Kubernetes Operator to expose a Service in one cluster to another cluster by combining cluster ingress and cluster egress. Expose the Service in cluster A to the tailnet through ingress, then connect to it from cluster B through egress.
For GitOps workflows that need to manage deployments across multiple clusters, refer to Deploy across clusters with ArgoCD.
How it works
- Expose the
Serviceyou want to access in cluster A using ingress. - In cluster B, create an egress
Servicethat connects to the tailnet address of theServiceexposed in cluster A. Refer to the egress guide for details.
This creates a mirror of cluster A's Service inside cluster B, accessible to workloads in cluster B as a regular Kubernetes Service.