Hi all,
I am trying to setup a single machine install with roles and weights to
check if I can manage resource allocation.

Here is my config:
Mesos slave default role : *
No ACL on master
Marathon flag --mesos_role set to "foo"
No cgroup (for single machine)

When launching marathon, it's well registered under framework with role
"foo" in mesos webUI
When launching tasks in marathon, I cannot set "accepted roles" to anything
different than "*" because I can see mesos only offer unreserved resources.
Can you confirm it's because I didn't set any static reservation ?
But I can't see any reserved resource with role "foo" in
- the slave "/state" API endpoint
- the master "/slaves" API endpoints.  "reserved_resources_full":{}
Only used resources

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 ?
How does the DRF work if mesos is only publishing unreserved offer (role *)
? Can someone explain me a little bit about details ?
The only thing I see is this
http://mesos.apache.org/documentation/latest/reservation/ but if I follow
the logic I should see the reservation with role foo somewhere after the
initial offer with role * has been made to marathon and after mararthon has
reserved part of the offer with its role foo...

Tx

Reply via email to