Reputation: 47
What happens if you have two services in kubernestes that exposes the same url in their ingress configuration?
Upvotes: 0
Views: 571
Reputation: 74871
Two ingress definitions with the same ingress
annotation and host
should be merged into a single virtualhost.
The details of how this is done and how path
collisions are handled is implementation specific for each ingress controller.
For example, ingress-nginx sorts the ingress definitions by CreationTimestamp
to keep the oldest definitions in place.
Upvotes: 1