As Dan I want to specify multiple Mesos roles for a single Marathon
As Dan, I would like to use a single Marathon instance to deploy apps to both the admin role and the slave_public role.
Assumptions All roles are known at DCOS cluster create time. This is an important assumption because roles can only be specified at Mesos master startup (they are master config flags).
AC ...
References: ~~https://issues.apache.org/jira/browse/MESOS-1763~~ https://issues.apache.org/jira/browse/MESOS-1142 https://mesosphere.atlassian.net/browse/MARATHON-252
This is not yet implemented in Mesos.
@kolloch What is exactly missing in Mesos to provide this feature? I see only one dependency to Mesos which is https://issues.apache.org/jira/browse/MESOS-1142 . Please advise.
MESOS-1142 is marked as duplicate of https://issues.apache.org/jira/browse/MESOS-1763. MESOS-1763 has been accepted but not implemented.
This would be very useful for us (Yelp), as we have some apps that don't want to be colocated with other apps. Because Marathon can only register with one role, we'll have to emulate this with constraints or run multiple a Marathon instance per role.
Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2775. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.