mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Chen <...@mesosphere.io>
Subject Re: Mess cluster resources utilization
Date Mon, 04 May 2015 17:32:11 GMT
Hi Yaron,

Marathon itself has its own REST endpoint you can hit (/v2/apps) that will
return to you all the apps and tasks information, so you can see how many
of the apps are launched and how many are still pending.

Tim

On Mon, May 4, 2015 at 5:28 AM, Yaron Rosenbaum <yaron.rosenbaum@gmail.com>
wrote:

> 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 <adam@mesosphere.io> 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 <
> yaron.rosenbaum@gmail.com> 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)
>>
>>
>
>

Mime
View raw message