Static splitting of followers in a cluster of mesos marathon

We have several kinds of applications running on the same Mesos-Marathon cluster. Apps can be categorized into very loosely related categories and can be run individually. They run on the same cluster considering ease of provisioning, cluster maintenance, reuse of CI / CD pipelines, etc. However, is there a mechanism to statically split the number of slaves in a cluster so that a group of these applications is created on a set of slaves, and another group on a different set.

+3


source to share


1 answer


You can use Mesos custom attributes for those that are in turn used by the marathon through constraints.

From Marathon Constraints Documentation :



Constraints control when applications start to optimize resiliency (by distributing the task across multiple nodes) or (by performing all application tasks on the same node). Constraints have three parts: field name, operator, and optional parameter. The field can be the hostname of the node agent or any attribute of the node agent.

+2


source







All Articles