Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The allocator needs to be adjusted once we allow frameworks to have multiple roles:
(1) When adding a framework, we need to store all of its roles and add it to multiple role sorters.
(2) We will CHECK that the framework does not modify its roles when updating the framework (much like we do for single-role frameworks).
(3) When performing an allocation, the allocator will set allocation_info.role. When recovering resources, the allocator will unset allocation_info.role.
(4) The allocator will send AllocationInfo alongside offers that it sends to the master, so that the master can easily augment Offer with allocation info.
Attachments
Issue Links
- blocks
-
MESOS-6730 Reserve operation should validate reserved resource role against resource allocationInfo role
- Resolved
- depends upon
-
MESOS-6633 Introduce Resource.AllocationInfo.
- Resolved