<p>I am using kubernetes cluster provided from infra team(not minikube), I have created traefik ingress controller with all the configuration, ingress container, our applications are running in the cluster.  now i want to access the application using domain name or ip address, for this, i have created a Ingress resource as below</p>
<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: traefik-web-ui
  namespace: kube-system
spec:
  rules:
  - host: dummy.domain.com
    http:
     paths:
     - path: /
      backend:
         serviceName: app-web-ui
         servicePort: web
</code></pre>
<p>What i am not getting here is the host name, since the applications are running in cluster, should this host name be the cluster master node name? what should be the hostname or ip address in the actual prod environment.</p>
<p>Note: we are not using any cloud providers, its just plain docker with kubernetes cluster environment(cluster is configured in Mirantis kubernetes and client is Windows).</p>

Nishu
<p>If you using any Load balancer behind the ingress or any ingress controller with a load Balancer you have to use the Load balancer IP everywhere.</p>
<p>So you have to map the <code>Loadbalancer IP</code> into the <code>DNS</code> for <code>dummy.domain.com</code>, or else if you are not using the load balancer you have to use the Master IP.</p>
<p>You are testing from the <code>local machine</code> you can add the entry of <code>domain</code> and IP in <code>etc/host</code> file and check.</p>
