<p>I have two Kubernetes clusters in AWS, each in it's own VPC.</p>
<ul>
<li>Cluster1 in VPC1</li>
<li>Cluster2 in VPC2</li>
</ul>
<p><a href="https://i.stack.imgur.com/MfdKQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/MfdKQ.png" alt="enter image description here" /></a></p>
<p>I want to do http(s) requests from cluster1 into cluster2 through a VPC peering. The VPC peering is setup and I can ping hosts from Cluster1 to hosts in Cluster2 currently.</p>
<p>How can I create a service that I can connect to from Cluster1 in Cluster2. I have experience setting up services using external ELBs and the like, but not for traffic internally in this above scenario.</p>

silverdagger
<p>You can create <a href="https://docs.aws.amazon.com/eks/latest/userguide/load-balancing.html" rel="nofollow noreferrer">internal LoadBalancer</a>.</p>
<p>All you need to do is to create a regular service of type LoadBalancer and annotate it with the following annotation:</p>
<pre><code>service.beta.kubernetes.io/aws-load-balancer-internal: &quot;true&quot;
</code></pre>
