user3399023
user3399023

Reputation: 47

Multiple services on same url in kubernetes

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

Upvotes: 0

Views: 571

Answers (1)

Matt
Matt

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

Related Questions