add labels to agents on startup (OD-1332)
Andreas Wachter opened 3 years ago

Is there a way to add labels to agents on startup? I use docker-compose to start my agents and I would like to add lables like cloud=yes or whatever

  • Andreas Wachter changed title 3 years ago
    Previous Value Current Value
    add labels to agents at startup
    add labels to agents on startup
  • Robin Shen commented 3 years ago

    You may put labels/attributes in <agent install dir>/conf/attributes.properties. They will be picked up upon start

  • Andreas Wachter commented 3 years ago

    how does this file look like?

  • Robin Shen commented 3 years ago

    For instance:

    name1=value1
    name2=value2
    
  • Robin Shen changed state to 'Closed' 3 years ago
    Previous Value Current Value
    Open
    Closed
issue 1/1
Type
Question
Priority
Normal
Assignee
Issue Votes (0)
Watchers (4)
Reference
OD-1332
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover