2019-04-12 14:21:25 +00:00
|
|
|
# Increase log verbosity
|
|
|
|
log_level = "DEBUG"
|
|
|
|
|
|
|
|
# Setup data dir
|
2020-02-03 16:50:43 +00:00
|
|
|
data_dir = "/tmp/nomad-dev-cluster/client3"
|
2019-04-12 14:21:25 +00:00
|
|
|
|
|
|
|
# Give the agent a unique name. Defaults to hostname
|
|
|
|
name = "client3"
|
|
|
|
|
2019-05-07 21:23:32 +00:00
|
|
|
# Enable debugging
|
|
|
|
enable_debug = true
|
|
|
|
|
2019-04-12 14:21:25 +00:00
|
|
|
# Enable the client
|
|
|
|
client {
|
|
|
|
enabled = true
|
2019-07-20 14:55:07 +00:00
|
|
|
|
2019-04-12 14:21:25 +00:00
|
|
|
server_join {
|
|
|
|
retry_join = ["127.0.0.1:4647", "127.0.0.1:5647", "127.0.0.1:6647"]
|
|
|
|
}
|
2019-07-20 14:55:07 +00:00
|
|
|
|
2019-04-12 14:21:25 +00:00
|
|
|
meta {
|
|
|
|
tag = "bar"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugin "raw_exec" {
|
|
|
|
config {
|
|
|
|
enabled = true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
ports {
|
|
|
|
http = 9646
|
|
|
|
}
|