<ul>
<li><p>using Docker Desktop and running the built-in Kubernetes
<a href="https://i.stack.imgur.com/FFrl5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FFrl5.png" alt="enter image description here" /></a></p>
</li>
<li><p>deployed hello app and a load-balancer service</p>
</li>
<li><p>you can see the output of <code>kk get all -o wide</code> //kk short for kubectl</p>
</li>
<li><p>also see output of</p>
<ul>
<li><code>kk get nodes</code></li>
<li><code>kk describe service hello-service</code></li>
<li><code>kk describe deployment</code></li>
</ul>
</li>
<li><p>you can also see output of <code>kk get endpoints</code></p>
<ul>
<li><code>hello-service   &lt;none&gt;</code></li>
</ul>
</li>
</ul>
<p><a href="https://i.stack.imgur.com/jdOaO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jdOaO.png" alt="enter image description here" /></a></p>
<ul>
<li>finally you can see the output of <code>curl localhost:8080</code>
<ul>
<li><code>curl: (52) Empty reply from server</code></li>
</ul>
</li>
</ul>
<p><strong>I think the reason for <code>Empty reply from server</code> is because the endpoints is <code>&lt;none&gt;</code>. Any idea why the endpoints is empty? and how I can fix this?</strong></p>

jakstack
<ul>
<li>turns out the service selector was bad it is <code>app=helloapp</code> but should be <code>name=helloapp</code></li>
</ul>
<p><a href="https://i.stack.imgur.com/rStFG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rStFG.png" alt="enter image description here" /></a></p>
<ul>
<li>with correct selector</li>
</ul>
<p><a href="https://i.stack.imgur.com/wzLeo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wzLeo.png" alt="enter image description here" /></a></p>
