Skip to content

docker/machine: add sleep between machine creation

What does this MR do?

In docker+machine executor two options added, config the concurrency in machine creation and sleep between creations.

Why was this MR needed?

The default machine creation in docker+machine executor try to create all machines at same time, for example if we have IdelCount = 50 the runner will create 50 machines instantly at the same time; this behavior will cause some problems like API rate limits and huge load on infrastructure to create multiple instance/virtualmachine concurrently.

What's the best way to test this MR?

I have tested this MR on our enviroment, but I think you can test it with any of docker-machine drivers.

What are the relevant issue numbers?

#37295 (closed)

executordocker-machine executordocker-autoscaler

Edited by Parsa Yousefi

Merge request reports