Re: Recent UI enhancements & Managed Service Providers

2016-02-26 Thread Vinod Kone
On Thu, Feb 25, 2016 at 10:31 AM, Paul Bell  wrote:

> I'm not sure that I can be more specific. MSPs are interested in a "view
> by tenant", e.g., "show me all applications that are allotted to Tenant
> X".  I suppose that the standard Mesos UI could, with properly named task
> IDs and the UI's "Find" filter, accomplish part of "view by tenant". But in
> order to see the resources consumed by Tenant X's tasks, you have to visit
> each task individually and look at their "Resources" table (add them all
> up).
>
> It'd be cool if when a filter is in effect, the Resources table was
> updated to reflect only the resources consumed by the filter-selected tasks.
>
>
There has been no work on this (i.e., some way to filter the UI view w.r.t
a group of tasks), but this sounds like a good use case. Can you file a
ticket?



> There's also the question of the units/meaning of Resources. Through
> Marathon I give each of my Dockerized tasks .1 CPU. As I understand it,
> Docker multiplies this value times 1024 which is Docker's representation of
> all the cores on a host. So when I do "docker inspect " I will see
> CpuShares of 102. But in the Mesos UI each of my 6 tasks shows .2 CPUs
> allocated. I'm simply not sure what this means or how it's arrived at. I
> suspect that an MSP will ask the same questions.
>

You see 0.2 because Mesos adds 0.1 overhead for the default executor that
runs the docker task.


Re: Recent UI enhancements & Managed Service Providers

2016-02-25 Thread Paul Bell
Hi Vinod,

Thank you for your reply.

I'm not sure that I can be more specific. MSPs are interested in a "view by
tenant", e.g., "show me all applications that are allotted to Tenant X".  I
suppose that the standard Mesos UI could, with properly named task IDs and
the UI's "Find" filter, accomplish part of "view by tenant". But in order
to see the resources consumed by Tenant X's tasks, you have to visit each
task individually and look at their "Resources" table (add them all up).

It'd be cool if when a filter is in effect, the Resources table was updated
to reflect only the resources consumed by the filter-selected tasks.

There's also the question of the units/meaning of Resources. Through
Marathon I give each of my Dockerized tasks .1 CPU. As I understand it,
Docker multiplies this value times 1024 which is Docker's representation of
all the cores on a host. So when I do "docker inspect " I will see
CpuShares of 102. But in the Mesos UI each of my 6 tasks shows .2 CPUs
allocated. I'm simply not sure what this means or how it's arrived at. I
suspect that an MSP will ask the same questions.

I will think about it some more, but I'd be interested to hear feedback on
these few points that I've raised.

Thanks again.

-Paul

On Thu, Feb 25, 2016 at 11:55 AM, Vinod Kone  wrote:

>
> > But an important MSP requirement is a unified view of their many
> tenants. So I am really trying to get a sense for how well the recent
> Mesos/Marathon releases address this requirement.
>
> Can you be more specific about what you mean by unified view and tenants?
> What's lacking currently?


Re: Recent UI enhancements & Managed Service Providers

2016-02-25 Thread Vinod Kone

> But an important MSP requirement is a unified view of their many tenants. So 
> I am really trying to get a sense for how well the recent Mesos/Marathon 
> releases address this requirement.

Can you be more specific about what you mean by unified view and tenants? 
What's lacking currently?