traefik / mesh

Traefik Mesh - Simpler Service Mesh
https://traefik.io/traefik-mesh
Apache License 2.0
2.02k stars 141 forks source link

Remove allocation of multiple HTTP ports at startup #720

Closed kevinpollet closed 4 years ago

kevinpollet commented 4 years ago

Feature Request

Proposal

When installing Maesh, the number of HTTP ports that should be allocated for mapping must be defined at startup. As we are using the router rule Host in Traefik to multiplex the allocated ports, there is no special reason to allocate a bunch of ports at startup. We have to be careful because this change might be breaking.

Btw, the current algorithm we use will multiplex the first allocated port in most cases.

jspdown commented 4 years ago

If a service exposes 2 ports we still need to distinguish svc.ns.maesh:8080 and svc.ns.maesh:8081. We have to keep it as it is.