Mesos describes the slave nodes present in the cluster by the following two methods:
Attributes are used to describe certain additional information regarding the slave node, such as its OS version, whether it has a particular type of hardware, and so on. They are expressed as key-value pairs with support for three different value types—scalar, range, and text—that are sent along with the offers to frameworks. Take a look at the following code:
attributes : attribute ( ";" attribute )* attribute : text ":" ( scalar | range | text )
Mesos can manage three different types of resources: scalars, ranges, and sets. These are used to represent the different resources that a Mesos slave has to offer. ...