d2iq-archive / universe

The Mesosphere Universe package repository.
http://mesosphere.github.io/universe
Apache License 2.0
306 stars 427 forks source link

Feature request: Support marathon groups in marathon config #569

Open philwinder opened 8 years ago

philwinder commented 8 years ago

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

errordeveloper commented 8 years ago

We need this for Weave Scope package also.

errordeveloper commented 8 years ago

cc @pyronicide

gisjedi commented 8 years ago

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

errordeveloper commented 7 years ago

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?

jiazhai commented 7 years ago

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