<p>I deployed my app using kubernetes and now Id like to add custom domain to the app. I am using <a href="https://hackernoon.com/expose-your-kubernetes-service-from-your-own-custom-domains-cc8a1d965fc" rel="nofollow noreferrer">this</a> tutorial and it uses ingress to set the custom domain.<br>
I noticed that the app load balancer has an ip. Why shouldn't I use that ip? What is the reason I need ingress?</p>

Naor
<p>If you want to expose your app, you could just as easily use a service of type <code>NodePort</code> instead of an Ingress. You could also use the type <code>LoadBalancer</code>. <code>LoadBalancer</code> is a superset of <code>NodePort</code> and assigns a fixed ip. With the type <code>LoadBalancer</code> you could assign a domain to this fixed IP. How to do this depends on where you have registered your domain.</p>

<p>To answer your questions:</p>

<ul>
<li>You do not need an Ingress you could use a <code>NodePort</code> service or
<code>LoadBalander</code> service. </li>
<li>To assign a domain to your app, you do not
need an Ingress, you could use a <code>LoadBalancer</code> service</li>
<li>In any case,
you could just use the ip, but as already pointed out, a domain is
more convenient.</li>
</ul>

<p>If you just want to try out your app, you could just use the IP. A domain can be assigned later.</p>

<p>Here is a official kubernetes tutorial on how to expose an app: <a href="https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/" rel="nofollow noreferrer">https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/</a></p>
