Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Mesosphere Sprint 58, Mesosphere Sprint 59
-
5
Description
With MESOS-7755 we update the allocator interface to support updating the total resources on an agent. These allocator invocations are driven by the master when it receives an update the an agent's total resources.
We could transport the updates from agents to the master either as update to UpdateSlaveMessage, e.g., by adding a repeated Resource total field; in order to distinguish updates to oversubscribed to updates to total we would need to introduce an additional tag field (an empty list of Resource has the same representation as an absent list of Resource). Alternatively we could introduce a new message transporting just the update to total; it should be possible to reuse such a message for external resource providers which we will likely add at a later point.