Tx If I understand I cannot use the weights to dynamically affect resources among 2 different roles ? I thought I could let everything unreserved (role *) and the DRF would use the weights to assign those unreserved resources to roles "foo" and "bar" ?
2016-09-08 6:19 GMT+02:00 Greg Mann <[email protected]>: > Hi Vincent, > > Can you confirm it's because I didn't set any static reservation ? >> > > Yes, that's correct. > > So how could I check the resource allocation with multiple marathon >> instances and roles, and configured weights between these roles ? Is >> Marathon supposed to reserve resources with the role it's configured to ? >> If yes how can I check ? >> > > No, as far as I know, Marathon doesn't automatically reserve any resources > for its role. The '--mesos_role' flag only sets the role that Marathon will > use when registering with the Mesos master. This means that it will receive > offers reserved for that role, but the resource reservations must be made > separately. You could reserve the resources statically via your agent > configuration, or you could use the operator HTTP API to accomplish this > with dynamic reservations: see the section on operator HTTP endpoints in > the reservation docs. > > Let me know if you have any other questions. It's also possible that I'm > unaware of some Marathon feature that could be helpful here - you could > also check the Marathon docs and reach out on their mailing list or IRC. > > Cheers, > Greg > >

