<p>I have VPS which has a public domain, now I installed Kubernetes with Docker driver, and I follow <a href="https://kubernetes.io/docs/tutorials/hello-minikube/" rel="nofollow noreferrer">this instruction</a> to expose a simple service on the internet. but I am faced with a <code>Connection refused</code> error.</p>
<p>I attached a screenshot of my k8s status below:</p>
<p><a href="https://i.stack.imgur.com/CdkBG.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CdkBG.png" alt="enter image description here" /></a></p>
<p>I try to create an Ingress and load balancer service but no success full result.</p>

Navid_pdp11
<p>In order to expose and application you need 4 things.</p>
<ul>
<li>
<ol>
<li><strong>Deployment/Pod</strong> which holds your application image</li>
</ol>
</li>
<li>
<ol start="2">
<li><strong>Service</strong> that exposes the port of your container</li>
</ol>
</li>
<li>
<ol start="3">
<li><strong>Ingress</strong> which holds the incoming network policy</li>
</ol>
</li>
<li>
<ol start="4">
<li><strong>Ingress Controller</strong> that manages ingresses</li>
</ol>
</li>
</ul>
<p>If you are using the katacoda environment on the official site, the step by step guide is correct and has no flaws. There may be hidden some more configuration if you are running minikube on a local machine.</p>
