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

taskRateLimit not respected in api #493

Closed adgaudio closed 10 years ago

adgaudio commented 10 years ago

Hi,

Is the taskRateLimit option supported in the "create app" or "update app" api for Marathon?

After modifying the marathon-python to incorporate the taskRateLimit option, I saw that the request from the server contains the taskRateLimit data, but the UI does not show the taskRateLimit value. Is there something that needs to be changed in Marathon to support this or is it something I'm not doing correctly?

For instance, my request to marathon contains this json data::

#  json payload:
{"taskRateLimit": 1.0, "id": "mytestapp", ..........}

The the response from the server does not contain the taskRateLimit variable. I don't think I'm doing anything incorrectly, but if someone else could verify they have the same issue, that would be great.

I'm using yesterday's (Aug. 26) Marathon master

Thank you, Alex

drexin commented 10 years ago

Hi Alex,

taskRateLimit has been replaced by backOffFactor and backOffSeconds. Please look here for more information.

Best regards, Dario

adgaudio commented 10 years ago

Fantastic, Thank you!