Skip to content

Support health checking multiple service ports for Docker

What does this MR do?

  • Updates our docker health checking to support multiple service ports (support up to 20).
  • Allows specifying the port via a HEALTHCHECK_TCP_PORT service environment variable.

Why was this MR needed?

Only the first port of a exposed port range was being used.

What's the best way to test this MR?

There's an integration test covering the case of HEALTHCHECK_TCP_PORT.

The unit tests have been expanded to yield multiple ports.

What are the relevant issue numbers?

Closes #31004 (closed)

Edited by Arran Walker

Merge request reports