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

tpu-provisioner: Add support for Spot Node Pools #588

Conversation

nstogner
Copy link
Collaborator

Add support for auto-provisioning of spot node pools.

Pod spec should include a node selector and tolerations:

  nodeSelector:
    cloud.google.com/gke-spot: "true"
   tolerations:
   - key: cloud.google.com/gke-spot
     operator: Equal
     value: "true"
     effect: NoSchedule

@nstogner
Copy link
Collaborator Author

nstogner commented Apr 16, 2024

Tested with go clean -testcache && TEST_SPOT=true go test -timeout 40m -v . via e2e test PR #235.

@danielvegamyhre
Copy link
Contributor

/gcbrun

Copy link
Contributor

@danielvegamyhre danielvegamyhre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@danielvegamyhre danielvegamyhre merged commit 179dbad into GoogleCloudPlatform:main Apr 16, 2024
4 checks passed
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.

2 participants