Re: determine slave capabilities

2016-10-04 Thread Hendrik Haddorp
thanks! On 04.10.2016 11:14, haosdent wrote: hi, @Hendrik You could specific the --attribute flag when starting mesos agent. For example, use --attributes=docker:false. Then you could get it in the `Offer` in your framework. Another way is query the /flags endpoint of the agent in your framewo

Re: determine slave capabilities

2016-10-04 Thread haosdent
hi, @Hendrik You could specific the --attribute flag when starting mesos agent. For example, use --attributes=docker:false. Then you could get it in the `Offer` in your framework. Another way is query the /flags endpoint of the agent in your framework. You could get the url of the agent from `Offer

determine slave capabilities

2016-10-04 Thread Hendrik Haddorp
Hi, is there a way for a framework to determine what containerizers are available on a slave? I have a setup where one slave has no docker engine so that I get an error when I try to start a container on that slave. Thus it would be nice if I could somehow check in advanced what capabilities