You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow users to specify a specifically-targeted GCP
reservation in fleet configurations:
```yaml
type: fleet
nodes: 1
backends: [gcp]
reservation: my-reservation
```
For reservations shared between projects, the full
syntax can be used to reference the project that
owns the reservation:
```yaml
type: fleet
nodes: 1
backends: [gcp]
reservation: projects/my-proj/reservations/my-reservation
```
`dstack` will locate the specified reservation,
suggest offers that match the reservation's
properties, and provision instances in the
reservation. If there are multiple reservations
with the specified name, all of them will be
considered for provisioning.
Using reservations requires the
`compute.reservations.list` permission in the
project that owns the reservations.
The implementation was only tested with on-demand
reservations. Whether other reservation types work
can be confirmed later, which includes Future
Reservations in Calendar Mode and Future
Reservations in AI Hypercomputer.
0 commit comments