kubernetes/pkg/proxy/healthcheck
Tero Kauppinen 0659a346ea
fix(kube-proxy): fix health check binding failure in case of dual-stack
In case of dual-stack, kube-proxy tries to bind both IPv4 and IPv6
health check instances to the same address and port pair which causes
the following error message in the log: 'bind: address already in use'.

Fix the issue by binding IPv4 instance to a 'tcp4' socket and IPv6 instance
to a 'tcp6' socket.

Signed-off-by: Tero Kauppinen <tero.kauppinen@est.tech>
2026-03-03 14:20:27 +02:00
..
common.go fix(kube-proxy): fix health check binding failure in case of dual-stack 2026-03-03 14:20:27 +02:00
doc.go remove import doc comments 2024-12-02 16:59:34 +01:00
healthcheck_test.go fix(kube-proxy): fix health check binding failure in case of dual-stack 2026-03-03 14:20:27 +02:00
proxy_health.go fix(kube-proxy): fix health check binding failure in case of dual-stack 2026-03-03 14:20:27 +02:00
service_health.go fix(kube-proxy): fix health check binding failure in case of dual-stack 2026-03-03 14:20:27 +02:00