open-nomad/e2e/terraform/configs/server.hcl

34 lines
599 B
HCL
Raw Normal View History

enable_debug = true
2019-07-20 14:55:07 +00:00
log_level = "debug"
data_dir = "/opt/nomad/data"
bind_addr = "0.0.0.0"
2018-12-17 17:40:09 +00:00
# Enable the server
server {
2019-07-20 14:55:07 +00:00
enabled = true
2018-12-17 17:40:09 +00:00
bootstrap_expect = 3
}
consul {
address = "127.0.0.1:8500"
}
vault {
2019-07-20 14:55:07 +00:00
enabled = false
address = "http://active.vault.service.consul:8200"
task_token_ttl = "1h"
2018-12-17 17:40:09 +00:00
create_from_role = "nomad-cluster"
2019-07-20 14:55:07 +00:00
token = ""
2018-12-17 17:40:09 +00:00
}
2019-03-08 17:56:02 +00:00
telemetry {
2019-07-20 14:55:07 +00:00
collection_interval = "1s"
disable_hostname = true
prometheus_metrics = true
2019-03-08 17:56:02 +00:00
publish_allocation_metrics = true
2019-07-20 14:55:07 +00:00
publish_node_metrics = true
2019-03-08 17:56:02 +00:00
}