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 basic support for SPOT instances in GCP #130

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bsda
Copy link

@bsda bsda commented Feb 14, 2023

I've been running this fork for the last few months and it is working well.

I know there's some resistance against supporting SPOT instances, so feel free to drop this PR

The new env variable to enable it is DRONE_GOOGLE_PROVISIONING_MODEL: SPOT
It defaults to STANDARD if not specified

It seems to work well with the REAPER enabled. I've been running it with these options and it has saved us a ton of money:

DRONE_REAPER_ENABLED: true
DRONE_REAPER_INTERVAL: 10m
DRONE_PINGER_ENABLED: true
DRONE_PINGER_INTERVAL: 1m
DRONE_POOL_MAX: "10"
DRONE_POOL_MIN: "0"
DRONE_POOL_MIN_AGE: "30m"

@bsda bsda changed the title Adds basic support for SPOT instances in GCP Add basic support for SPOT instances in GCP Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant