Last active
September 21, 2020 12:43
-
-
Save rsvalerio/bdbd72a8baef748727b7bfb127bc0369 to your computer and use it in GitHub Desktop.
consul crash config
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 characters
agent.json | |
```json | |
{ | |
"bind_addr": "[redacted_ip]", | |
"bootstrap_expect": 3, | |
"client_addr": "0.0.0.0", | |
"config_entries": { | |
"bootstrap": [ | |
{ | |
"config": { | |
"protocol": "http" | |
}, | |
"kind": "proxy-defaults", | |
"name": "global" | |
} | |
] | |
}, | |
"connect": { | |
"enabled": true | |
}, | |
"data_dir": "[redacted_data_dir]", | |
"datacenter": "[redacted_dc]", | |
"dns_config": { | |
"enable_truncate": false | |
}, | |
"domain": "consul.", | |
"enable_central_service_config": true, | |
"http_config": { | |
"response_headers": { | |
"Access-Control-Allow-Headers": "*", | |
"Access-Control-Allow-Methods": "*", | |
"Access-Control-Allow-Origin": "*" | |
} | |
}, | |
"node_name": "[redacted_node_name]", | |
"ports": { | |
"dns": 28600, | |
"grpc": 28400, | |
"http": 28500, | |
"serf_lan": 28301, | |
"serf_wan": 28302, | |
"server": 28300 | |
}, | |
"primary_datacenter": "[redacted_dc]", # same as datacenter field, so, its the current consul dc | |
"retry_join_wan": [], | |
"server": true, | |
"translate_wan_addrs": true, | |
"ui": true | |
} | |
``` | |
limits.json | |
```json | |
{ | |
"limits": { | |
"http_max_conns_per_client": 400 | |
} | |
} | |
``` | |
perf.json | |
```json | |
{ | |
"performance": { | |
"leave_drain_time": "5s", | |
"rpc_hold_timeout": "7s", | |
"raft_multiplier": 1 | |
} | |
} | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment