Hi Adam,

For example, with Marathon - how can I get the list of pending tasks ? and by  
“how many additional nodes you would need to satisfy them” - do you mean, by 
comparing the two? or is there statistics for that too?

Thanks

(Y)

> On May 3, 2015, at 10:10 AM, Adam Bordelon <[email protected]> wrote:
> 
> Yaron,
> 
> You could use the /statistics.json endpoints to monitor the cpu/memory 
> allocation across your cluster, even on individual nodes.
> Only individual frameworks know their own pending tasks and how many 
> additional resources you would need to satisfy them.
> Given these pieces of information, you should be able to trigger your own 
> auto-provisioning mechanism.
> 
> On Fri, May 1, 2015 at 11:18 AM, Yaron Rosenbaum <[email protected] 
> <mailto:[email protected]>> wrote:
> Hi
> 
> Is there a way in mesos / marathon to know that tasks cannot be assigned due 
> to lack of resources? or in other words - when to add mesos-slaves to the 
> cluster?
> 
> Or even more specifically, what amount of resources are missing (or in 
> excess) given the current tasks and slaves?
> 
> Thanks
> (Y)
> 
> 

Reply via email to