You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Meng Zhu (JIRA)" <ji...@apache.org> on 2019/02/22 02:15:00 UTC

[jira] [Created] (MESOS-9598) Update GET `/quota` to return both guarantees and limits.

Meng Zhu created MESOS-9598:
-------------------------------

             Summary: Update GET `/quota` to return both guarantees and limits.
                 Key: MESOS-9598
                 URL: https://issues.apache.org/jira/browse/MESOS-9598
             Project: Mesos
          Issue Type: Task
          Components: allocation
            Reporter: Meng Zhu


We should mark the existing `QuotaInfo` message as deprecated in favor of the new `QuotaConfig`:

{noformat}
message QuotaStatus {
       repeated QuotaInfo infos [deprecated = true];
       repeated QuotaConfig configs; 
}

message QuotaConfig {
        required  string role;
        map<string, Value.Scalar> guarantees;
        map<string, Value.Scalar> limits;
}
{noformat}

We will continue to fill in the QuotaInfo though for backward compatibility. See the design doc: [New API|https://docs.google.com/document/d/13vG5uH4YVwM79ErBPYAZfnqYFOBbUy2Lym0_9iAQ5Uk/edit#]

Note, we only update this v0 endpoint for the GET method. There is no plan to support configuring quota limits from this endpoint. V1 calls should be used.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)