add labels to agents on startup (OD-1332)
Closed
Andreas Wachter opened 1 year 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 1 year ago
Previous Value Current Value
add labels to agents at startup
add labels to agents on startup
Robin Shen commented 1 year ago

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

Andreas Wachter commented 1 year ago

how does this file look like?

Robin Shen commented 1 year ago

For instance:

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