HI Rinaldo, I think that you can use dynamic reservation feature to achieve this: You can launch your tasks after reservation succeeds. Actually, all of the dynamic reservation feature with endpoint has been finished except ACL part, so you can use this feature now if you do not care ACL part.
Thanks, Guangya On Tue, Sep 22, 2015 at 6:32 AM, DiGiorgio, Mr. Rinaldo S. < [email protected]> wrote: > Hi, > > I have some tasks that need to run on different types of agents. I > don’t want the tasks to run unless I am going to have all the resources. > Can someone suggest how I could accomplish that with mesos. I read about > reservations here: > http://mesos.apache.org/documentation/latest/reservation/ > > I could iterate over all the resources I need and if I get them > proceed. > > Is that the only way to do it? > > Any idea when coming soon will be available? > > /reserve (*Coming Soon*) > > Suppose we want to reserve 8 CPUs and 4096 MB of RAM for the ads role on > a slave with id=<slave_id>. We send an HTTP POST request to the /reserve HTTP > endpoint like so: > > > Rinaldo > > >

