<p>I'm debugging an application running on a <code>Dev</code> environment running in <code>Google Kubernetes Engine</code> and want to send <code>curl</code> based <code>HTTP</code> requests to the <code>LoadBalancer</code> which selects some pods.</p>
<pre><code>$ kubectl get svc -n mynamespace -o wide 
NAME       TYPE           CLUSTER-IP   EXTERNAL-IP   PORT(S)
mylb   LoadBalancer         1.1.1.1      2.2.2.2   1111:22222/TCP
</code></pre>
<p>So as far as I understand <code>CLUSTER-IP</code> is used for access from within the <code>Kubernetes</code> cluster itself while <code>EXTERNAL-IP</code> is used for access from the outside. So I tried the following</p>
<pre><code>$curl -X GET https://2.2.2.2:1111/path
curl: (35) error:02FFF036:system library:func(4095):Connection reset by peer
</code></pre>
<p>So this request does not seem to reach the POD behind the <code>LoadBalancer</code>.</p>
<p>Maybe I completely misused the concept of service and <code>LoadBalancer</code>? What is the proper way to send requests to <code>POD</code>s behind a <code>LoadBalancer</code>?</p>
<p>Is there a way to trace requests coming to the LoadBalancer and log which POD it was forwarded (or not forwarded)?</p>

Some Name
<p>I would start with looking at your <a href="https://console.cloud.google.com/kubernetes/service/cluster-location/cluster-name/namespace/service-name/logs?project=project-id" rel="nofollow noreferrer">service logs</a>.  See if you can find anything there.</p>
<p>If you don't see any traffic there, you could try enabling <a href="https://console.cloud.google.com/networking/subnetworks/details/region/subnet-name?project=project-id" rel="nofollow noreferrer">VPC flow Logs</a>.  Allow a little time after enabling, try to curl again and see what shows up in the flow logs.</p>
