<p>I have a cluster with two nodes. I want to publish some services to internet. So I need to pin my domains to some address. Basically I understand, that I need to install ingress controller. But, am I right I need to glue ingress controller to the particular node?</p>

Maksim Rukomoynikov
<p>Ingress controller helps to manage the ingress resources in the cluster. So along with the controller you need to create the ingress resources which will be the &quot;glue&quot; between the domain and the services(target application).</p>
<p>Please read <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="nofollow noreferrer">here</a> for more.</p>
<p>One sample from the documentation:</p>
<p>foo.bar.com/bar -&gt; service1</p>
<pre><code>apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: ingress-wildcard-host
spec:
  rules:
  - host: &quot;foo.bar.com&quot;
    http:
      paths:
      - pathType: Prefix
        path: &quot;/bar&quot;
        backend:
          service:
            name: service1
            port:
              number: 80
</code></pre>
