<p>Over <a href="https://kubernetes.io/docs/concepts/services-networking/ingress/#hostname-wildcards" rel="nofollow noreferrer">here</a>, I couldn't understand why third example was a no match. If my wildcard is <code>*.foo.com</code> then why it can't match match Host header with value as &quot;foo.com&quot;.</p>
<p>I tried to Google for &quot;single DNS label&quot; but really couldn't understand.</p>

pjj
<p>Basically, <code>*.foo.com</code> means you need to have <code>&lt;something&gt;.foo.com</code>. So, only <code>foo.com</code> is not matched. For simplicity you can think that wildcard <code>*</code> need to be replaced and cannot be omitted,  you have to have something in the place of <code>*</code> for matching this.</p>
