Hi Maxim, Thanks for responding.
1) The refactoring of resource management should make it easier to model custom resources. I can see why the resource model is bounded & strongly typed, and not free form (i.e. config based). Is the refactoring planned for commit/merge any time soon? 2) For supporting custom (operator privileged) pre/post task launch steps on a host, I'm considering extending/replacing thermos (based on my initial understanding). I'm assuming that since the executor runs external to the container that is used to launch tasks, it'd have the privilege & visibility to carry out such operator-specified administrative steps. Thoughts? Thanks, Bharath On Mon, May 9, 2016 at 10:23 PM, Maxim Khutornenko <[email protected]> wrote: > These steps need to run external to the docker container being launched. >> Based on the documentation, I couldn't find a way to achieve these in >> Apache Aurora. Can someone let me know if this is indeed possible? > > > There is no support for this sort of functionality in Aurora, at least not > yet (ideas/proposals are welcome!). You can accomplish *some* of that by > configuring your custom logic to run within your task image though. > > I also wanted to know if arbitrary resources modeled in Mesos can be >> expressed in an Aurora job definition, assuming that resource isolation is >> handled externally. > > > We are currently working on generalizing resource management in Aurora to > simplify adding new resource types. That said, having a fully dynamic (e.g. > config file driven) support for adding arbitrary resource types is not our > goal at the moment. You can find more details here > <https://docs.google.com/document/d/1J9SIswRMpVKQpnlvJAMAJtKfPP7ZARFknuyXl-2aZ-M> > . > > On Fri, May 6, 2016 at 6:51 AM, Bharath Ravi Kumar <[email protected]> > wrote: > >> Hi, >> >> I need the ability to run a few pre-lauch steps (e.g. create a custom >> work directory) and post launch steps (e.g. docker inspect) on the physical >> host when launching a docker container. These steps need to run external to >> the docker container being launched. Based on the documentation, I couldn't >> find a way to achieve these in Apache Aurora. Can someone let me know if >> this is indeed possible? >> >> I also wanted to know if arbitrary resources modeled in Mesos can be >> expressed in an Aurora job definition, assuming that resource isolation is >> handled externally. >> >> Thanks, >> Bharath >> > >
