universe
universe copied to clipboard
Feature request: Support marathon groups in marathon config
I'd really like to be able to deploy my multi-container applications via DCOS universe.
Use case: We've developed a microservices reference application that I am able to deploy to Mesos/DCOS via Marathon using groups. There's about 8 different microservices and the dependencies are contained within the marathon block.
As of Jun 2016, the dcos-cli does support submitting groups to marathon. It's just the universe spec doesn't.
I think this would also benefit other app developers who have similar multi app deployments. E.g. https://github.com/mesosphere/universe/pull/366#issuecomment-210606478
We need this for Weave Scope package also.
cc @pyronicide
👍 I'd consider packaging within DC/OS to be non-functional for any application of reasonable complexity without this feature. We have resorted to writing bootstrap containers that call the Marathon API launch all application components as individual Marathon apps. This becomes even more clumsy with 1.8 and the additional internal authentication required to the Marathon APIs.
This feature should also support destruction of all apps within the group on uninstall. Our current bootstrap approach means there will be orphaned Marathon apps left behind on an uninstall that must be manually destroyed.
It doesn't sound to me like this would be hard to fix, or am I missing something? Where should I look if I want to try fixing it?
👍, It would be great to have this feature. looking forward to it.