Allow Gitlab runner to use a spot fleet (docker+machine executor)
AWS released a spot fleet (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/spot-fleet.html) Allowing users to configure a grouping of instance types. It would be nice if the runner could use this, so if there was insufficient capacity, it could try other instance types, so we wouldn't have failed pipelines.
Problem
- We are using spot instances for hosting GitLab Runner.
- Every now and then, there is no spot availability for a certain instance type, and it interrupts our pipelines until someone can go and manually change to a different instance type that has availability.
Edited by Darren Eastman