Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the ability to use spot instances in gcp #340

Open
ramonskie opened this issue Sep 1, 2023 · 0 comments
Open

add the ability to use spot instances in gcp #340

ramonskie opened this issue Sep 1, 2023 · 0 comments
Assignees

Comments

@ramonskie
Copy link
Contributor

ramonskie commented Sep 1, 2023

as gcp supports spot prices voor vms it would be nice to implement this
https://cloud.google.com/compute/docs/instances/spot

as aws and alicloud also support this for a long time

it should also support a fallback as been done in aws cpi
cloudfoundry/bosh#915
cloudfoundry/bosh-aws-cpi-release@dedc281

spots can be managed by setting the ProvisioningModel
see https://pkg.go.dev/google.golang.org/api/compute/v1

it seems we already support preemptible, read diffrences below betwoon spot
https://sudipta-deb.in/2023/01/what-is-preemptible-and-spot-virtual-machine-in-google-cloud-platform.html

Spot Virtual Machines are the latest version of Preemptible Virtual Machines. However, Spot Virtual Machines provide new features that Preemptible Virtual Machines do not support.

Unlike Preemptible Virtual Machine, Sport Virtual Machine doesn’t have any runtime restrictions like 24 hours. It can run any number of hours.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Pending Merge | Prioritized
Development

No branches or pull requests

2 participants