Try to optimize Consul

This commit is contained in:
Quentin 2021-04-04 20:04:25 +02:00
parent e979434970
commit 0b4c61dfe1
2 changed files with 15 additions and 12 deletions

View file

@ -4,9 +4,9 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 110
ansible_become: true
ipv4: 192.168.1.2
gatewayv4: 192.168.1.254
ipv6: 2a01:e34:ec5c:dbe0::2
ipv4: 192.168.0.2
gatewayv4: 192.168.0.254
ipv6: 2a01:e0a:260:b5b0::2
gatewayv6: 2a01:e34:ec5c:dbe0::1
interface: eno1
dns_1: 212.27.40.240
@ -17,10 +17,10 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 111
ansible_become: true
ipv4: 192.168.1.3
gatewayv4: 192.168.1.254
ipv6: 2a01:e34:ec5c:dbe0::3
gatewayv6: 2a01:e34:ec5c:dbe0::1
ipv4: 192.168.0.3
gatewayv4: 192.168.0.254
ipv6: 2a01:e0a:260:b5b0::3
gatewayv6: 2a01:e0a:260:b5b0::1
interface: eno1
dns_1: 212.27.40.240
dns_2: 212.27.40.241
@ -30,10 +30,10 @@ cluster_nodes:
ansible_host: atuin.site.deuxfleurs.fr
ansible_port: 112
ansible_become: true
ipv4: 192.168.1.4
gatewayv4: 192.168.1.254
ipv6: 2a01:e34:ec5c:dbe0::4
gatewayv6: 2a01:e34:ec5c:dbe0::1
ipv4: 192.168.0.4
gatewayv4: 192.168.0.254
ipv6: 2a01:e0a:260:b5b0::4
gatewayv6: 2a01:e0a:260:b5b0::1
interface: eno1
dns_1: 212.27.40.240
dns_2: 212.27.40.241

View file

@ -24,10 +24,13 @@
"encrypt": "{{ consul_gossip_encrypt }}",
"domain": "2.cluster.deuxfleurs.fr",
"performance": {
"raft_multiplier": 10,
"raft_multiplier": 5,
"rpc_hold_timeout": "30s",
"leave_drain_time": "30s"
},
"dns_config": {
"allow_stale": true
},
"telemetry": {
"disable_hostname": true,
"prometheus_retention_time": "2h"