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
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
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.
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).