<p>I am running on Vultr public cloud with a CoreOS Kubernetes.  I am working on configuring a ingress controller so I can reach my backend SpringBoot service.  </p>

<p>I have a Spring Boot service "springboot" running on port 30123. </p>

<p>I have this ingress yaml from the Kubernetes documentation with modified to my service:</p>

<pre><code>ingress.yaml
------------
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: test-ingress
spec:
  backend:
    serviceName: springboot
    servicePort: 31922
</code></pre>

<blockquote>
  <p>kubectl get ing</p>
</blockquote>

<p>Name           HOSTS      ADDRESS   PORTS    AGE</p>

<p>test-ingress   *                    80       2m</p>

<blockquote>
  <p>curl mydns.com
  Connection refused.</p>
</blockquote>

<p>I am not sure if I am understanding how it's supposed to work.</p>

<p>Can someone help?</p>

<p>thanks</p>

<p>As mentioned by @slintes, did you add an IngressController ? You can add one (nginx ingress controller) easily with the command :</p>
<pre><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/cloud/deploy.yaml
</code></pre>
<p>By the way in your question you're saying that you have a spring boot app on port <code>30123</code> but your ingress points to the <code>31922</code> port. Is it normal ?</p>
<p>Hope it helps.</p>
