Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-6085

Agent's /state endpoint does not include total resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.1.0
    • agent
    • None

    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

          Activity

            People

              xujyan Yan Xu
              xujyan Yan Xu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: