criteo / marathon-capabilities-plugin

A plugin to allow marathon to leverage mesos capabilities isolator
Apache License 2.0
2 stars 3 forks source link

Do you have an example on how to configure the marathon task. #3

Closed f1-outsourcing closed 4 years ago

f1-outsourcing commented 4 years ago

I am not getting this to work with marathon 1.8 and mesos 1.9. From the code I can see you have to put this in labels, but what label name etc.

kamaradclimber commented 4 years ago

Hello,

https://github.com/criteo/marathon-capabilities-plugin/blob/master/src/main/scala/com/criteo/marathon/CapabilitiesPlugin.scala#L14 shows that you need to define labels MESOS_BOUNDING_CAPABILITIES and/or MESOS_EFFECTIVE_CAPABILITIES