You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by mz...@apache.org on 2019/08/05 21:21:11 UTC
[mesos] 01/03: Updated operator HTTP API documentation regarding
`GET_QUOTA`.
This is an automated email from the ASF dual-hosted git repository.
mzhu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mesos.git
commit 1186df321ffae1272cfaf1d5f539c9305777defe
Author: Meng Zhu <mz...@mesosphere.io>
AuthorDate: Tue Jul 30 17:21:10 2019 -0700
Updated operator HTTP API documentation regarding `GET_QUOTA`.
The deprecated guarantee, principal and role fields are
now hidden.
Review: https://reviews.apache.org/r/71212
---
docs/operator-http-api.md | 35 ++++++++++++++++++-----------------
1 file changed, 18 insertions(+), 17 deletions(-)
diff --git a/docs/operator-http-api.md b/docs/operator-http-api.md
index ddf29e9..7aaeff3 100644
--- a/docs/operator-http-api.md
+++ b/docs/operator-http-api.md
@@ -2423,26 +2423,27 @@ Content-Type: application/json
"status": {
"infos": [
{
- "guarantee": [
+ "configs" : [
{
- "name": "cpus",
- "role": "*",
- "scalar": {
- "value": 1.0
- },
- "type": "SCALAR"
- },
- {
- "name": "mem",
- "role": "*",
- "scalar": {
- "value": 512.0
+ "role": "dev",
+ "guarantees": {
+ "cpus": {
+ "value": 1.0
+ },
+ "mem": {
+ "value": 1024.0
+ }
},
- "type": "SCALAR"
+ "limits": {
+ "cpus": {
+ "value": 2.0
+ },
+ "mem": {
+ "value": 2048.0
+ }
+ }
}
- ],
- "principal": "my-principal",
- "role": "role1"
+ ]
}
]
}