fix: ensure join-api is functioning (#434)
- consul was directing new rke2 control nodes to a dead join api - add additional check to verify its responding (not just up) Reviewed-on: #434
This commit is contained in:
parent
6f51bffeaa
commit
383bbb0507
@ -58,6 +58,12 @@ consul::services:
|
||||
tcp: "%{hiera('networking_loopback0_ip')}:9345"
|
||||
interval: '10s'
|
||||
timeout: '1s'
|
||||
- id: 'rke2_server_ping_check'
|
||||
name: 'rke2 Server Ping Check'
|
||||
http: "https://%{hiera('networking_loopback0_ip')}:9345/ping"
|
||||
interval: '10s'
|
||||
timeout: '3s'
|
||||
tls_skip_verify: true
|
||||
profiles::consul::client::node_rules:
|
||||
- resource: service
|
||||
segment: api-k8s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user