Created
July 9, 2018 20:24
-
-
Save jippi/abfd99e0cdb2e92842a49b22170a5d87 to your computer and use it in GitHub Desktop.
Revisions
-
jippi created this gist
Jul 9, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,73 @@ { "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" }