Skip to content

Instantly share code, notes, and snippets.

@jippi
Created Jul 9, 2018
Embed
What would you like to do?
{
"bind_addr": "0.0.0.0",
"data_dir": "/var/lib/nomad",
"datacenter": "xxx",
"disable_update_check": true,
"enable_syslog": true,
"leave_on_interrupt": true,
"leave_on_terminate": true,
"log_level": "DEBUG",
"name": "xxxx",
"addresses": {
"http": "0.0.0.0",
"rpc": "0.0.0.0",
"serf": "0.0.0.0"
},
"client": {
"enabled": true,
"network_interface": "eth0",
"node_class": "xxx",
"max_kill_timeout": "300s",
"options": {
"docker.auth.config": "/root/.docker/config.json",
"docker.cleanup.image.delay": "1h",
"driver.raw_exec.enable": true
},
"reserved": {
"cpu": 1024,
"disk": 2048,
"memory": 1024,
"reserved_ports": "22,25,53,123,514,4646-4648,48484,49968,8200-8302,8400,8500,8600,8953"
},
"meta": {
"aws.instance.type": "m4.xlarge",
"aws.instance.family": "m4",
"aws.instance.availability-zone": "xxx",
"aws.instance.region": "us-east-1",
"aws.instance.life-cycle": "normal",
"aws.instance.root-device-type": "ebs",
"aws.ami-version": "2.0.0-alpha13",
"aws.instance.region-short": "xxx",
"aws.instance.stack-name": "xxx"
}
},
"consul": {
"address": "127.0.0.1:8500",
"client_auto_join": true,
"client_service_name": "xxx",
"server_auto_join": true,
"server_service_name": "nomad"
},
"vault": {
"enabled": true,
"create_from_role": "xxx",
"address": "xxxx"
},
"telemetry": {
"prometheus_metrics": true,
"disable_hostname": true,
"publish_allocation_metrics": true,
"publish_node_metrics": true,
"datadog_address": "localhost:8125"
},
"server": {
"enabled": true,
"bootstrap_expect": 3
},
"advertise": {
"http": "xxx:4646",
"rpc": "xxx:4647",
"serf": "xxx:4648"
},
"region": "xxx"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment