Skip to content

Draft: Add feature to support GCP Spot instance provisioning

NOTE THAT THIS FORK IS MAINTAINED FOR CRITICAL BUG FIXES AFFECTING RUNNING COSTS ONLY. NO OTHER CONTRIBUTIONS WILL BE ACCEPTED.

What critical bug this MR is fixing?

Does not fix a critical bug but this does provide the ability for the docker-machine provisioner to build workers using Spot instances from Google. (https://cloud.google.com/spot-vms)

How does this change help reduce cost of usage? What scale of cost reduction is it?

By using spot instances the cost of machines can be reduced by 60%-91%.

In what scenarios is this change usable with GitLab Runner's docker+machine executor?

Add the following to the MachineOptions array "google-provisioning-model=SPOT". Default to STANDARD if the option is not passed.

Edited by Josh Keys

Merge request reports