feat: update consul etcd check #216
@ -49,11 +49,13 @@ consul::services:
|
||||
address: "%{facts.networking.ip}"
|
||||
port: 2379
|
||||
checks:
|
||||
- id: 'etcd_tcp_check'
|
||||
name: 'ETCD TCP Check'
|
||||
tcp: "%{facts.networking.ip}:2379"
|
||||
- id: 'etcd_http_health_check'
|
||||
name: 'ETCD HTTP Health Check'
|
||||
http: "https://%{facts.networking.ip}:2379/health"
|
||||
method: 'GET'
|
||||
interval: '10s'
|
||||
timeout: '1s'
|
||||
tls_skip_verify: true
|
||||
profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: etcd
|
||||
|
||||
Loading…
Reference in New Issue
Block a user