How to configure gitlab autoscaler to switch to available runner when AWS spot instance is not available
Hello, please forgive me if I am not following the right protocols for creating issues, or if this has been handled somewhere. I have a challenge that I have not been able to see how it can be solved.
I have two shared runners that utilize AWS spot instances for job execution. Sometime, a spot instance may not be available, when this happens, it seems GitLab runner does not know about it and will keep sending a request for a spot instance instead of switching to the second runner.
Is there a configuration for this? can this be automated somehow?. The only solution I have currently is to pause that runner on GitLab so that it will use the second.
Thanks for your understanding.