mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From caogaojin <caogao...@cmss.chinamobile.com>
Subject Re: DC/OS dynamic reservation dosen't work
Date Sun, 01 May 2016 08:24:13 GMT
@Haosdent, what does http://10.132.46.71:5050/roles mean? shouldn’t that tell us all resources
that framework with `dev` role takes, both from `dev` and `*` role? It doesn’t mean resources
are consumed from `dev` role, right?
--
Best Regards,

GaoJin CAO 
ChinaMobile(Suzhou) R&D
Mail:caogaojin at cmss.chinamobile.com <http://cmss.chinamobile.com/>
> On May 1, 2016, at 16:02, caogaojin <caogaojin@cmss.chinamobile.com> wrote:
> 
> 
> ```
> [root@localhost ~]# curl http://10.132.46.71:5050/roles <http://10.132.46.71:5050/roles>
| python -m json.tool
>   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
>                                  Dload  Upload   Total   Spent    Left  Speed
> 100   250  100   250    0     0  46772      0 --:--:-- --:--:-- --:--:-- 50000
> {
>     "roles": [
>         {
>             "frameworks": [],
>             "name": "*",
>             "resources": {
>                 "cpus": 0,
>                 "disk": 0,
>                 "mem": 0
>             },
>             "weight": 1.0
>         },
>         {
>             "frameworks": [
>                 "439a851d-aa09-47af-bc68-d5588dc9f5da-0002"
>             ],
>             "name": "dev",
>             "resources": {
>                 "cpus": 1.0,
>                 "disk": 0,
>                 "mem": 128.0,
>                 "ports": "[31994-31994]"
>             },
>             "weight": 1.0
>         }
>     ]
> }
> ```


Mime
View raw message