<p>Can I add multiple hosts to the Ingress controller so that they refer to the same target group in the aws load balancer? Example:</p>
<pre><code>  rules:
  - host: [&quot;foobar.com&quot;, &quot;api.foobar.com&quot;,  &quot;status.foobar.com&quot;]
    http:
      paths:
      - backend:
          serviceName: foobar
          servicePort: 80 ```

</code></pre>

<p>TLDR; no</p>
<hr />
<p>Long answer:</p>
<p>In <a href="https://github.com/kubernetes/api/blob/master/networking/v1beta1/types.go#L159" rel="nofollow noreferrer">k8s source code</a> you can see that <code>host</code> field's data type is string, so you cannot use array of strings in that place.</p>
<p>But you should be able to do the following:</p>
<pre><code>rules:
- host: &quot;foobar.com&quot;
  http:
    paths:
    - backend:
        serviceName: foobar
        servicePort: 80
- host: &quot;api.foobar.com&quot;
  http:
    paths:
    - backend:
        serviceName: foobar
        servicePort: 80
- host: &quot;status.foobar.com&quot;
  http:
    paths:
    - backend:
        serviceName: foobar
        servicePort: 80
</code></pre>
