dstack
dstack copied to clipboard
[Feature]: Add `region` property to SSH fleet configuration
Problem
As SSH fleets/fleet instances may be located in different data centers (that is, in different local networks), it would be useful to distinguish them. The region(s) property, which is already supported for cloud providers, seems as a perfect candidate for this. For example, one NFS volume (that is not yet supported) may be available to some SSH instances, but not to the others, in this case, it would be useful to mark both the fleet and the NFS volume as belonging to the same "region" (e.g., datacenter).
Solution
- Add an optional
regionproperty to the fleet configuration. regionsandregionare mutually exclusive; for on-prem fleets,regionsis not allowed, andregionis optional, withnoneas the default value; for cloud fleets,region: foois an alias forregions: [foo].
Workaround
No response
Would you like to help us implement this feature by sending a PR?
No