<p>What happens if you have two services in kubernestes that exposes the same url in their ingress configuration?</p>

user3399023
<p>Two ingress definitions with the same <code>ingress</code> annotation and <code>host</code> should be merged into a single virtualhost.</p>
<p>The details of how this is done and how <code>path</code> collisions are handled is implementation specific for each ingress controller.</p>
<p>For example, <a href="https://github.com/kubernetes/ingress-nginx" rel="nofollow noreferrer">ingress-nginx</a> <a href="https://github.com/kubernetes/ingress-nginx/blob/e568fba8c921abc48554d34e53a58732839be269/internal/ingress/controller/store/store.go#L747" rel="nofollow noreferrer">sorts the ingress definitions by <code>CreationTimestamp</code></a> to keep the oldest definitions in place.</p>
