<p>Is it possible to use the Ingress Controller function in Kubernetes without a load balancer (in Digital Ocean). </p>

<p>Is there any other mechanism to allow a domain name to map to a Kubernetes service; for instance if I host two WordPress sites on a Kubernetes cluster:</p>

<p>==> WP Site 1: Node Port 80
==> WP Site 2: Node Port 8080</p>

<p>How does a domain name map to the container port 8080 without explicitly entering the port number.</p>

<p>Any help is appreciated.</p>

Rutnet
<p>DNS doesn't support adding port numbers, you need an ingress controller (which essentially acts like a reverse proxy) to do this.</p>

<p>If you install the <a href="https://github.com/digitalocean/digitalocean-cloud-controller-manager" rel="noreferrer">digital ocean cloud controller manager</a> you'll be able to provision loadbalancers using services with type LoadBalancer. You can then deploy a standard ingress controller, like the <a href="https://github.com/kubernetes/ingress-nginx" rel="noreferrer">nginx ingress controller</a> and give the service type=LoadBalancer.</p>

<p>This then becomes the ingress into your cluster, and you only have a single LoadBalancer, which keeps costs down.</p>
