acs-engine/examples/dcos-attributes
Christoph Schittko 7be319268b added node attributes (customNodeLabels) to agent pools 2017-03-03 18:48:21 -06:00
..
images
README.md
dcos.json

README.md

DCOS Agent Node Attributes

Attributes can be defined for each agent node type. The attributes can then be used with Marathon deployments as placement contraints.

Attributes can easily be defined in AgentPoolProfile property of the API Model

The definition below adds 2 attributes "foo" and "att1" to all nodes in the agentprivate pool.

    "agentPoolProfiles": [
      {
        "name": "agentprivate",
        "count": 3,
        "vmSize": "Standard_D2_v2",
        "customNodeLabels" : {
          "foo" : "bar",
          "att1" : "value1"
        } 
      }
    ]

You can confirm the attributes on the Node Details:

Node UI Details