forked from Deuxfleurs/infrastructure
Try to optimize Consul
This commit is contained in:
parent
e979434970
commit
0b4c61dfe1
2 changed files with 15 additions and 12 deletions
|
@ -4,9 +4,9 @@ cluster_nodes:
|
||||||
ansible_host: atuin.site.deuxfleurs.fr
|
ansible_host: atuin.site.deuxfleurs.fr
|
||||||
ansible_port: 110
|
ansible_port: 110
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
ipv4: 192.168.1.2
|
ipv4: 192.168.0.2
|
||||||
gatewayv4: 192.168.1.254
|
gatewayv4: 192.168.0.254
|
||||||
ipv6: 2a01:e34:ec5c:dbe0::2
|
ipv6: 2a01:e0a:260:b5b0::2
|
||||||
gatewayv6: 2a01:e34:ec5c:dbe0::1
|
gatewayv6: 2a01:e34:ec5c:dbe0::1
|
||||||
interface: eno1
|
interface: eno1
|
||||||
dns_1: 212.27.40.240
|
dns_1: 212.27.40.240
|
||||||
|
@ -17,10 +17,10 @@ cluster_nodes:
|
||||||
ansible_host: atuin.site.deuxfleurs.fr
|
ansible_host: atuin.site.deuxfleurs.fr
|
||||||
ansible_port: 111
|
ansible_port: 111
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
ipv4: 192.168.1.3
|
ipv4: 192.168.0.3
|
||||||
gatewayv4: 192.168.1.254
|
gatewayv4: 192.168.0.254
|
||||||
ipv6: 2a01:e34:ec5c:dbe0::3
|
ipv6: 2a01:e0a:260:b5b0::3
|
||||||
gatewayv6: 2a01:e34:ec5c:dbe0::1
|
gatewayv6: 2a01:e0a:260:b5b0::1
|
||||||
interface: eno1
|
interface: eno1
|
||||||
dns_1: 212.27.40.240
|
dns_1: 212.27.40.240
|
||||||
dns_2: 212.27.40.241
|
dns_2: 212.27.40.241
|
||||||
|
@ -30,10 +30,10 @@ cluster_nodes:
|
||||||
ansible_host: atuin.site.deuxfleurs.fr
|
ansible_host: atuin.site.deuxfleurs.fr
|
||||||
ansible_port: 112
|
ansible_port: 112
|
||||||
ansible_become: true
|
ansible_become: true
|
||||||
ipv4: 192.168.1.4
|
ipv4: 192.168.0.4
|
||||||
gatewayv4: 192.168.1.254
|
gatewayv4: 192.168.0.254
|
||||||
ipv6: 2a01:e34:ec5c:dbe0::4
|
ipv6: 2a01:e0a:260:b5b0::4
|
||||||
gatewayv6: 2a01:e34:ec5c:dbe0::1
|
gatewayv6: 2a01:e0a:260:b5b0::1
|
||||||
interface: eno1
|
interface: eno1
|
||||||
dns_1: 212.27.40.240
|
dns_1: 212.27.40.240
|
||||||
dns_2: 212.27.40.241
|
dns_2: 212.27.40.241
|
||||||
|
|
|
@ -24,10 +24,13 @@
|
||||||
"encrypt": "{{ consul_gossip_encrypt }}",
|
"encrypt": "{{ consul_gossip_encrypt }}",
|
||||||
"domain": "2.cluster.deuxfleurs.fr",
|
"domain": "2.cluster.deuxfleurs.fr",
|
||||||
"performance": {
|
"performance": {
|
||||||
"raft_multiplier": 10,
|
"raft_multiplier": 5,
|
||||||
"rpc_hold_timeout": "30s",
|
"rpc_hold_timeout": "30s",
|
||||||
"leave_drain_time": "30s"
|
"leave_drain_time": "30s"
|
||||||
},
|
},
|
||||||
|
"dns_config": {
|
||||||
|
"allow_stale": true
|
||||||
|
},
|
||||||
"telemetry": {
|
"telemetry": {
|
||||||
"disable_hostname": true,
|
"disable_hostname": true,
|
||||||
"prometheus_retention_time": "2h"
|
"prometheus_retention_time": "2h"
|
||||||
|
|
Loading…
Reference in a new issue