coreos/fleet — pull request #622 by jonboulle (2014-07-07 08:56:58+00:00)
Title: Basic resource reservations

Building on #616 (so relevant commit = 907ccef5768f), this exposes basic resource reservation information in MachineState. The current approach for calculating free resources is extremely simple: assume a fixed block of resources (HostResources) is reserved for usage outside of fleet units (by system processes and fleet itself), and subtract the aggregate resources that have been reserved explicitly using fleet directives.