I would like to have one instance of consul and registrator running on every
slave. I thought that by setting a attribute on every node then setting
contraints like..
"constraints": [
["exec_env", "GROUP_BY"],
["hostname", "UNIQUE"]
]
If every node has the same 'exec_env' then they would all get one instance of
this task ( i am not setting a value for 'instances' btw).
What is a good way to be sure every slave has one of a particular task?
Thanks!
________________________________
Scott Kinney | DevOps
stem <http://www.stem.com/> | m 510.282.1299
100 Rollins Road, Millbrae, California 94030
This e-mail and/or any attachments contain Stem, Inc. confidential and
proprietary information and material for the sole use of the intended
recipient(s). Any review, use or distribution that has not been expressly
authorized by Stem, Inc. is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies. Thank you.