So, on the framework side would I say a task relies on that attribute through 
the
addResources mechanism? Like
'.addResources(Resource.newBuilder().setName("capabilities").setType(Value.Type.TEX
T).setRole("cuda")'?

Or should I be using the http api nowadays?

On Saturday, July 23, 2016 06:10:14 PM Krish wrote:
> Hi Mark,
> Just add a --attributes="<key1>:<value1>,<key2>:<value2>" to the mesos
> slave/agent; say, --attributes="capabilities:cuda".
>
> https://open.mesosphere.com/reference/mesos-slave/
>
>
>
> --
> κρισhναν
>
> On Sat, Jul 23, 2016 at 6:07 PM, Mark Hammons <[email protected]
> > wrote:
> >
> > I'm sorry, I'm still fairly new to mesos, so I'm not sure what this means
> > or how to do that. Could you link to some documentation or an example that
> > discusses this in more detail?
> >
> > On Saturday, July 23, 2016 12:32:52 PM Tomek Janiszewski wrote:
> > > You can mark all slave resources as cuda role  or add attribute to run
> >
> > tasks
> >
> > > on this agent.
> >
> > --
> >
> > Mark Hammons - +33 06 03 69 56 56
> >
> > Research Engineer @ BioEmergences <http://bioemergences.iscpif.fr>
> >
> > Lab Phone: 01 69 82 34 19--
Mark Hammons - +33 06 03 69 56 56
Research Engineer @ BioEmergences[1]
Lab Phone: 01 69 82 34 19

--------
[1] bioemergences.iscpif.fr

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to