Skip to content

Ensure instance connection is closed when vm isolation is enabled

Arran Walker requested to merge ajwalker/autoscaler-close-conns into main

What does this MR do?

Ensures that we're closing all connections when VM isolation is enabled.

Why was this MR needed?

Our MacOS autoscaler is suffering with SSH connectivity issues due to us leaking connections on each job.

What's the best way to test this MR?

Using the Instance executor with VM isolation enabled, run a job and check the SSH connections before and after it completes with: sudo lsof -i -n | egrep '\<sshd\>'.

What are the relevant issue numbers?

Closes gitlab-org/ci-cd/shared-runners/infrastructure#79 (closed)

Merge request reports

Loading