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

Consider introducing a ScalarResourceQuantity protobuf message.

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: HTTP API
    • Labels:

      Description

      As part of introducing quota limits, we're adding a new master::Call for updating quota. This call can take a simplified message that expresses scalar resource quantities:

      message ScalarResourceQuantity {
        required string name;
        required Value::Scalar quantity;
      }
      

      This greatly simplified the validation code, as well as the UX of the API when it comes to knowing what kind of data to provide.

      Ideally, the new quota paths can use this message in lieu of Resource objects, but we'll have to explore backwards compatibility (e.g. registry data).

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              mzhu Meng Zhu
              Reporter:
              bmahler Benjamin Mahler

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment