<p>I want to create a cluster of RESTful web APIs in AWS EKS and be able to access them through a single IP (allowing kubernetes to load balance requests to each). I have followed the procedure explained the this <a href="https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services---service-types" rel="nofollow noreferrer">link</a> and have set up an example <code>nginx</code> deployment as shown in the following image:</p>
<p><a href="https://i.stack.imgur.com/tPQgu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tPQgu.png" alt="enter image description here" /></a></p>
<p>The problem is that when I access the example <code>nginx</code> deployment via <code>172.31.22.183</code> it works just fine, but when I try to use the cluster IP <code>10.100.145.181</code> it does not yield any response in such a way that it seems to be unreachable.</p>
<p>What's the purpose of that cluster ip then and how can I use it to achieve what I need?</p>

<p><code>ClusterIP</code> is an IP that is only accessible inside the cluster. You cannot hit it from outside cluster unless you use <code>kubectl port-forward</code></p>
