Description
The agent's /state endpoint exposes a "resources" field but the resources include only those specified in the flags and not the total resources which include (dynamic) reservations.
This is inconsistent with the master's slave "resources" field which does include these reservations.
The master also exposes "reserved_resources" and "unreserved_resources" separately.
We should consider making the agent's "resources" field expose the total as well. (the flags' version is available through the "flags.resources" field). We can add "reserved_resources" and "unreserved_resources" to the agent /state as well.
Attachments
Issue Links
- is related to
-
MESOS-4668 Agent's /state endpoint does not include full reservation information
- Resolved
- relates to
-
MESOS-6211 Add total resources to the agent operator API.
- Open