mesosphere / marathon

Deploy and manage containers (including Docker) on top of Apache Mesos at scale.
https://mesosphere.github.io/marathon/
Apache License 2.0
4.07k stars 845 forks source link

Port 10000 in portDefinitions instead of specified port on first deploy #5346

Closed mrkam closed 7 years ago

mrkam commented 7 years ago

I deploy my app to Marathon using Jenkins plugin. It uses marathon.json document containing the following port definitions:

  "portDefinitions": [
    {
      "port": 31609,
      "protocol": "tcp",
      "labels": {}
    }
  ],
  "requirePorts": true

When the app is deployed for the first time, it always ends up with the following port definitions instead:

  "portDefinitions": [
    {
      "port": 10000,
      "protocol": "tcp",
      "labels": {}
    }
  ],
  "requirePorts": true

And I have to manually edit the config in Marathon UI so it can deploy (port 10000 is not available).

Marathon Version 1.3.6

marathon-bot commented 7 years ago

Hi @mrkam!

Thank you for your interest in Marathon! We have recently moved our issue tracking to JIRA. This issue has been automatically re-posted to JIRA. It can be found at MARATHON-7187

timcharper commented 7 years ago

@mrkam hi! Please follow the JIRA link and be sure to click "watch this issue" in order to receive updates