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
If I leave the "port" key out of my json file, deimos only maps the lowest numbered port.
I love the auto incremented ports, but I'm not sure how this is triggered.
The text was updated successfully, but these errors were encountered:
These auto-incremented ports are actually provided by Mesos, at Marathon's request. Deimos just maps the ports it sees in the TaskInfo -- it doesn't have any port management logic. That is why the port pairings are listed as (Mesos, Docker).
The idea is to access the endpoints resource on Marathon and then construct a proxy configuration (using HAProxy, for example) to map between the ports allocated for the container and the "service ports" requested in the Marathon task JSON.
Was looking around how to map multiple exposed ports to marathon/mesos ports using deimos. I was surprised by the following:
Starting a container that exposes ports 8080 and 8081, I (naively) assigned two ports in my json file:
However, this resulted in deimos picking and auto incrementing two ports, 31267 and 31268:
If I leave the "port" key out of my json file, deimos only maps the lowest numbered port.
I love the auto incremented ports, but I'm not sure how this is triggered.
The text was updated successfully, but these errors were encountered: