Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bigcat88
Copy link
Member

Should fix #23

There are situations when HaProxy listens only to IPv4 interfaces, and “nc -z localhost” resolves by default to IPv6

Therefore, when $BIND_ADDRESS=* - we need to check both addresses, if at least one of them opens port 2375 - we assume that HaProxy is healthy.

@bigcat88 bigcat88 requested a review from kyteinsky June 11, 2024 12:31
@bigcat88 bigcat88 requested a review from andrey18106 as a code owner June 11, 2024 12:31
@bigcat88 bigcat88 merged commit 124dd30 into main Jun 11, 2024
@bigcat88 bigcat88 deleted the healtcheck-adjust branch June 11, 2024 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unhealthy container upon repeated attempts to create proxy

3 participants