mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 02:15:43 +03:00
agent/testdata add a configuration directory for testing
This commit is contained in:
38
command/agent/testdata/sample1/sample1.json
vendored
Normal file
38
command/agent/testdata/sample1/sample1.json
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
{
|
||||
"acl": {
|
||||
"enabled": true
|
||||
},
|
||||
"advertise": {
|
||||
"http": "host.example.com",
|
||||
"rpc": "host.example.com",
|
||||
"serf": "host.example.com"
|
||||
},
|
||||
"bind_addr": "0.0.0.0",
|
||||
"data_dir": "/opt/data/nomad/data",
|
||||
"datacenter": "dc1",
|
||||
"enable_syslog": true,
|
||||
"leave_on_interrupt": true,
|
||||
"leave_on_terminate": true,
|
||||
"log_level": "INFO",
|
||||
"region": "global",
|
||||
"server": {
|
||||
"bootstrap_expect": 3,
|
||||
"enabled": true,
|
||||
},
|
||||
"syslog_facility": "LOCAL0",
|
||||
"telemetry": {
|
||||
"collection_interval": "60s",
|
||||
"disable_hostname": true,
|
||||
"prometheus_metrics": true,
|
||||
"publish_allocation_metrics": true,
|
||||
"publish_node_metrics": true
|
||||
},
|
||||
"tls": {
|
||||
"key_file": "/opt/data/nomad/certs/server-key.pem",
|
||||
"rpc": true,
|
||||
"verify_server_hostname": true
|
||||
},
|
||||
"vault": {
|
||||
"create_from_role": "nomad-cluster",
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user