From 83cb039b972155bc487dd43e637d297d42a438d4 Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Mon, 5 Oct 2026 21:33:03 +1100 Subject: [PATCH] consul: use static server list for clients (#544) Hosts compiled on the k8s puppetservers can't see the consul servers in PuppetDB, so the members lookup returns nothing and syd1 clients get no retry_join targets. - set a static consul server list for syd1 and disable the members lookup there - keep the PuppetDB members lookup for all other regions Reviewed-on: https://git.unkin.net/unkin/puppet-prod/pulls/544 Co-authored-by: unkin-agent Co-committed-by: unkin-agent --- hieradata/country/au/region/syd1.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hieradata/country/au/region/syd1.yaml b/hieradata/country/au/region/syd1.yaml index 7639c9e..87e186f 100644 --- a/hieradata/country/au/region/syd1.yaml +++ b/hieradata/country/au/region/syd1.yaml @@ -7,3 +7,11 @@ profiles_dns_upstream_forwarder_consul: - 198.18.19.14 profiles_dns_upstream_forwarder_k8s: - 198.18.19.20 +profiles::consul::client::members_lookup: false +# static: k8s-compiled hosts can't see the servers in PuppetDB; update when servers change +profiles::consul::client::consul_servers: + - ausyd1nxvm2005.main.unkin.net + - ausyd1nxvm2006.main.unkin.net + - ausyd1nxvm2007.main.unkin.net + - ausyd1nxvm2008.main.unkin.net + - ausyd1nxvm2009.main.unkin.net