fix: tolerate stale tailscale service readiness
This commit is contained in:
@@ -169,7 +169,10 @@ check_service() {
|
||||
if ! retry 18 10 service_proxy_ready "$namespace" "$service_name"; then
|
||||
echo "Tailscale proxy did not become Ready for $namespace/$service_name; restarting proxy and retrying" >&2
|
||||
restart_service_tailscale_proxy "$namespace" "$service_name"
|
||||
retry 18 10 service_proxy_ready "$namespace" "$service_name"
|
||||
if ! retry 6 10 service_proxy_ready "$namespace" "$service_name"; then
|
||||
echo "Tailscale proxy pod is Ready but service condition is still stale for $namespace/$service_name; continuing with endpoint checks" >&2
|
||||
"${KUBECTL[@]}" -n "$namespace" get svc "$service_name" -o yaml >&2 || true
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! retry 18 10 assigned_hostname_matches "$namespace" "$service_name" "$hostname"; then
|
||||
|
||||
Reference in New Issue
Block a user