universe icon indicating copy to clipboard operation
universe copied to clipboard

Feature request: Support marathon groups in marathon config

Open philwinder opened this issue 8 years ago • 5 comments

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

philwinder avatar Jul 19 '16 16:07 philwinder

We need this for Weave Scope package also.

errordeveloper avatar Aug 19 '16 13:08 errordeveloper

cc @pyronicide

errordeveloper avatar Aug 19 '16 13:08 errordeveloper

👍 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.

gisjedi avatar Oct 12 '16 18:10 gisjedi

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?

errordeveloper avatar Feb 16 '17 09:02 errordeveloper

👍, It would be great to have this feature. looking forward to it.

jiazhai avatar Nov 29 '17 02:11 jiazhai