This request has been made many times. Attributes on disks (or any resource) doesn't yet exist.
On Wed, Feb 1, 2017 at 12:00 AM vincent gromakowski < vincent.gromakow...@gmail.com> wrote: > It's OK for host selection but I am looking for a way to tag disks within > agents. One agent could have several class of disks... > > Le 1 févr. 2017 5:28 AM, "tommy xiao" <xia...@gmail.com> a écrit : > > search a more useful docs to you: > https://github.com/cantbewong/mesos-proposal-externalstorage/blob/master/Mesos%20Management%20of%20Persistent%20External%20Storage.md#use-of-attributes-to-indicate-connectable-storage-tuples-should-work-nicely-with-marathon > > > > 2017-02-01 12:26 GMT+08:00 tommy xiao <xia...@gmail.com>: > > the dis resource is tightly to host, so i think use constraint to filter > specified agent, then create your volume. does it match your meet? > > 2017-01-31 1:20 GMT+08:00 vincent gromakowski < > vincent.gromakow...@gmail.com>: > > Hi, > Regarding the documentation, I can't find any way to tag some disks > resources but only to provide label to agents. My use case would be to > distinctly offer SSD and HDD based disks resources in a similar way as the > type of disk resource ("mount" or "path"). > The classic approach would be to have a storage class attribute ? > Tx > > > > > -- > Deshi Xiao > Twitter: xds2000 > E-mail: xiaods(AT)gmail.com > > > > > -- > Deshi Xiao > Twitter: xds2000 > E-mail: xiaods(AT)gmail.com > >