Is it possible to run more than one runner in the same host? Is it just a matter of creating the runner on the bitbucket Settings / Runners page and copying the docker commands and running them on the same VM? I wonder if that would work without any problems since bb runners are mounting filesystem folders such as tmp, docker.sock, etc.. Wondering if there would be any conflicts when running more than one runner in the same VM.
Hi @kalib
G'Day!
We support multiple runners on a single host as long as your host has enough disk and memory spaces.
To do this, basically create a new runner in the UI and copy then paste the commands in your host machine.
It's best to tag each runner accordingly so that you don't get confused since it's on the same host machine.
Hope this helps
Cheers,
Syahrul
Hi @Syahrul ,
Thanks for your answer.
I understand that the tag is used to tell a pipeline to use one runner or another... is there a "smart" way to balance between runners?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What do you mean by a smart way of balancing? Are you looking into scaling your runner automatically? If yes, then I believe Runner autoscaller is what you are looking for.
Regards,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is exactly what I was looking for, thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.