You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Adam B (JIRA)" <ji...@apache.org> on 2018/01/12 09:21:03 UTC

[jira] [Updated] (MESOS-3401) Add labels to Resources

     [ https://issues.apache.org/jira/browse/MESOS-3401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam B updated MESOS-3401:
--------------------------
    Shepherd:   (was: Adam B)

> Add labels to Resources
> -----------------------
>
>                 Key: MESOS-3401
>                 URL: https://issues.apache.org/jira/browse/MESOS-3401
>             Project: Mesos
>          Issue Type: Improvement
>          Components: agent
>            Reporter: Adam B
>              Labels: external-volumes, mesosphere, resources
>
> Similar to how we have added labels to tasks/executors (MESOS-2120), and even FrameworkInfo (MESOS-2841), we should extend Resource to allow arbitrary key/value pairs.
> This could be used to specify that a cpu resource has a certain speed, that a disk resource is SSD, or express any other metadata about a built-in or custom resource type. Only the scalar quantity will be used for determining fair share in the Mesos allocator. The rest will be passed onto frameworks as info they can use for scheduling decisions.
> This would require changes to how the slave specifies its `--resources` (probably as json), how the slave/master reports resources in its web/json API, and how resources are offered to frameworks.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)