Adding port comparison to the find_health_check logic makes it possible to support multiple health checks with different ports on a single instance. Without this it is only possible to have a single port of a given health check type per host. For instance http://10.0.0.1:80/ and http://10.0.0.1:81/ running 2 separate services that both need health checks separately.
Adding port comparison to the find_health_check logic makes it possible to support multiple health checks with different ports on a single instance. Without this it is only possible to have a single port of a given health check type per host. For instance http://10.0.0.1:80/ and http://10.0.0.1:81/ running 2 separate services that both need health checks separately.