Skip to content

Conversation

@SikaGrr
Copy link
Collaborator

@SikaGrr SikaGrr commented Nov 11, 2025

Description

This change enables usage of shared reservations for TPU cluster creation.

Issue

Node pool can be created with reservations shared from projects different from cluster project (by supplying resource path): https://cloud.google.com/kubernetes-engine/docs/how-to/consuming-reservations#specific_shared

XPK workflows fail when full reservation path is used because they are trying to find them in the clusters' project.

This PR fixes that by parsing reservation and using appropriate project.

Testing

Added unit tests and a golden with a shared reservation.
Shared reservations with GPU clusters are not in the scope of this PR so this was not tested.

@github-actions
Copy link

🤖 Hi @SikaGrr, I've received your request, and I'm working on it now! You can track my progress in the logs for more details.

@SikaGrr SikaGrr added the release-features features label Nov 11, 2025
@SikaGrr SikaGrr merged commit d5a2b2e into main Nov 12, 2025
23 of 24 checks passed
@SikaGrr SikaGrr deleted the shared_reservations branch November 12, 2025 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants