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

Do not use `Resource.role` for resources in quota request.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.27.0
    • master

    Description

      To be consistent with other operator endpoints and to adhere to the principal of least surprise, move role from each Resource in quota set request to the request itself.

      Resource.role is used for reserved resources. Since quota is not a direct reservation request, to avoid confusion we shall not reuse this field for communicating the role for which quota should be reserved.

      Food for thought: Shall we try to keep internal storage protobufs as close as possible to operator's JSON to provide some sort of a schema or decouple those two for the sake of flexibility?

      Attachments

        Activity

          People

            alexr Alex R
            alexr Alex R
            Joris Van Remoortere Joris Van Remoortere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: