You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Traefik with a Marathon backend. Some containers, are using more than one TCP port (1 for production access and another one for healthcheck, for example). Why traefik can't use portIndex "0" as default port? When traefik read more than one port, It ignores application and doesn't include in frontend and backend.
The text was updated successfully, but these errors were encountered:
That's not a good decision, Marathon assumes port0 as default option for health checks and Marathon always assumes that you have 1 port available, so PORT0 is always a default option.
"Each host port value is exposed to the running application instance via environment variables $PORT0, $PORT1, etc. Each Marathon application is given a single port by default, so $PORT0 is always available. " https://mesosphere.github.io/marathon/docs/ports.html
So you have to assume a default when you have two or more options.
Hi,
I'm using Traefik with a Marathon backend. Some containers, are using more than one TCP port (1 for production access and another one for healthcheck, for example). Why traefik can't use portIndex "0" as default port? When traefik read more than one port, It ignores application and doesn't include in frontend and backend.
The text was updated successfully, but these errors were encountered: