<h2>What I want</h2>
<ul>
<li>ClusterA have PodA</li>
<li>ClusterB have ServiceB select PodB in <code>namespace:default</code></li>
<li>In GKE(Google Kubernetes Engine)</li>
</ul>
<p>PodA in ClusterA can access ServiceB in clusterB like <code>api.default.svc.cluster.clusterB</code>.</p>
<h2>Solutions I tried</h2>
<ul>
<li>GKE Internal Load Balancer: <a href="https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balancing" rel="nofollow noreferrer">https://cloud.google.com/kubernetes-engine/docs/how-to/internal-load-balancing</a>
<ul>
<li>It works. But I need to create a lot of ILB for each one of services.</li>
</ul>
</li>
<li><a href="https://stackoverflow.com/a/31665248/3854890">https://stackoverflow.com/a/31665248/3854890</a>
<ul>
<li>I don't think manually configure kube-proxy is a good choice since I'm using preemptible VMs.</li>
</ul>
</li>
<li>Kubefed: <a href="https://github.com/kubernetes-sigs/kubefed" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/kubefed</a>
<ul>
<li>I didn't dig it too deep. It's like manipulate multiple cluster and expose them. And what I what it communicates internally.</li>
</ul>
</li>
<li>Maesh <a href="https://containo.us/maesh/" rel="nofollow noreferrer">https://containo.us/maesh/</a>
<ul>
<li>Didn't see cross cluster configurations.</li>
</ul>
</li>
<li>Istio <a href="https://istio.io/latest/blog/2020/multi-cluster-mesh-automation/" rel="nofollow noreferrer">https://istio.io/latest/blog/2020/multi-cluster-mesh-automation/</a>
<ul>
<li>A little complicated to me. Not sure it suit to this scenario.</li>
</ul>
</li>
</ul>
<hr />
<p>Any solutions or ideas are appreciated! A example will be better.</p>

<p>I found three solutions for this. For multi-cluster kubernetes architecture.</p>
<ul>
<li>Linkerd: <a href="https://linkerd.io/2/features/multicluster/index.html" rel="nofollow noreferrer">https://linkerd.io/2/features/multicluster/index.html</a></li>
<li>Consule: <a href="https://learn.hashicorp.com/consul/kubernetes/mesh-gateways" rel="nofollow noreferrer">https://learn.hashicorp.com/consul/kubernetes/mesh-gateways</a></li>
<li>Istio: <a href="https://istio.io/latest/docs/setup/install/multicluster/shared/" rel="nofollow noreferrer">https://istio.io/latest/docs/setup/install/multicluster/shared/</a></li>
</ul>
<p>I chose Linkerd. Pretty easy to setup, good latency and good documents.</p>
<p>I also wrote an article in Chinese if someone interested.
<a href="https://rammusxu.github.io/2020/07/28/Linkerd-Multi-Kubernetes-Cluster-Feature-Overview/" rel="nofollow noreferrer">https://rammusxu.github.io/2020/07/28/Linkerd-Multi-Kubernetes-Cluster-Feature-Overview/</a></p>
