Re: Question on Mesos Reservation

2016-06-18 Thread Klaus Ma
Hi Adam,


Just go through the code of Myriad on resource usage, there's some behaviour 
I'd like to confirm with you.


1. Myriad can not use reserved resource and normal resource together

2. There's no priority on which resources will be used firstly, reserved 
resource vs. normal resources


If any comments, please let me know :).




Da (Klaus), Ma (??), PMP(r)| Advisory Software Engineer
Platform DCOS Development & Support, STG, IBM GCG
+86-10-8245 4084 | mad...@cn.ibm.com | http://k82.me

<http://k82.me/>

From: Adam Bordelon <a...@mesosphere.io>
Sent: Tuesday, June 14, 2016 6:00:40 PM
To: dev@myriad.incubator.apache.org
Subject: Re: Question on Mesos Reservation

The Myriad framework can register with a Mesos role if you set the
'frameworkRole'
config param. Then you can configure Mesos agents to have static
reservations, or use the operator endpoints to grant dynamic reservations
to that role, or configure a minimum resource quota for that role. See
http://mesos.apache.org/documentation/latest/roles/ and
http://mesos.apache.org/documentation/latest/reservation/ and
http://mesos.apache.org/documentation/latest/quota/

There is currently no support yet for Myriad to create dynamic reservations
on its own (I just created MYRIAD-221
<https://issues.apache.org/jira/browse/MYRIAD-221> to track it), nor for
Myriad to take advantage of revocable resources (MYRIAD-179
<https://issues.apache.org/jira/browse/MYRIAD-179>). These would be great
features for Myriad 0.3, but I don't think we have anybody committed to
work on them yet. Your comments/help are appreciated.

On Tue, Jun 14, 2016 at 2:24 AM, Sam Chen <rc...@linkernetworks.com> wrote:

> Guys,
> Talking about the latest Myriad distribution, can it support the feature
> of Mesos Reservation? If no, what's the roadmap and plan on this?
> Appreciated.
>
> Regards,
> Sam
>
> Sent from my iPhone


Re: Question on Mesos Reservation

2016-06-14 Thread Adam Bordelon
The Myriad framework can register with a Mesos role if you set the
'frameworkRole'
config param. Then you can configure Mesos agents to have static
reservations, or use the operator endpoints to grant dynamic reservations
to that role, or configure a minimum resource quota for that role. See
http://mesos.apache.org/documentation/latest/roles/ and
http://mesos.apache.org/documentation/latest/reservation/ and
http://mesos.apache.org/documentation/latest/quota/

There is currently no support yet for Myriad to create dynamic reservations
on its own (I just created MYRIAD-221
 to track it), nor for
Myriad to take advantage of revocable resources (MYRIAD-179
). These would be great
features for Myriad 0.3, but I don't think we have anybody committed to
work on them yet. Your comments/help are appreciated.

On Tue, Jun 14, 2016 at 2:24 AM, Sam Chen  wrote:

> Guys,
> Talking about the latest Myriad distribution, can it support the feature
> of Mesos Reservation? If no, what's the roadmap and plan on this?
> Appreciated.
>
> Regards,
> Sam
>
> Sent from my iPhone