diff --git a/hieradata/roles/infra/etcd/node.yaml b/hieradata/roles/infra/etcd/node.yaml index ff0231b..38e933d 100644 --- a/hieradata/roles/infra/etcd/node.yaml +++ b/hieradata/roles/infra/etcd/node.yaml @@ -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