feat: update consul etcd check #216

Merged
unkinben merged 1 commits from neoloc/etcd_http_check into develop 2025-01-26 20:05:18 +11:00

View File

@ -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