Retry on connection refused k8s error message
What does this MR do?
Retries on "connection refused" k8s error message and refactors the error messages retry code
Why was this MR needed?
What's the best way to test this MR?
What are the relevant issue numbers?
Closes https://gitlab.com/gitlab-org/gitlab-runner/-/issues/37342