@陈强,How do you define the "total resources"? All resources of frameworks in
the same role, the deserved resources of role it should get, or  the total
resources reserved by this role?

----
Da (Klaus), Ma (马达) | PMP® | Advisory Software Engineer
Platform OpenSource Technology, STG, IBM GCG
+86-10-8245 4084 | klaus1982...@gmail.com | http://k82.me

On Mon, Feb 22, 2016 at 6:07 PM, Guangya Liu <gyliu...@gmail.com> wrote:

> Does /master/state endpoint help? This can get all resources per-role in
> the cluster, including total, used, reserved etc per role.
>
> *"reserved_resources"*: {
>
>         *"r2"*: {
>
>           *"mem"*: 0,
>
>           *"disk"*: 0,
>
>           *"cpus"*: 8
>
>         },
>
>         *"r1"*: {
>
>           *"mem"*: 8000,
>
>           *"disk"*: 0,
>
>           *"cpus"*: 0
>
>         }
>
>       }
>
> Thanks,
>
> Guangya
>
> On Mon, Feb 22, 2016 at 5:11 PM, 陈强 <chenqi...@qiyi.com> wrote:
>
> > Hi all,
> >
> > Does Mesos support to get the available total resource for every roles
> > now? if don't, who are focusing on this? thanks.
> >
> > --
> >
> > Best Regards,
> > ChenQiang
> >
> >
>

Reply via email to