Closed r4victor closed 2 months ago
type: instance
or cluster? :)
I'd start with instance
since it's what dstack pool
currently works with. We can discuss how dstack supposed to work with clusters in a separate issue: we could expand instance
configuration to be able to provision multiple cluster nodes (may be as simple as specifying nodes: 8
) or introducing a separate cluster
configuration.
I wouldn't rush and at least discuss this before implementing.
The description is updated to use fleet
configuration type.
Currently, dstack provides the
dstack pool add
command to provision cloud instances and thedstack pool add-ssh
command to add on-prem instances via ssh. This interface has several limitations. The major one is that there is no way to provision/add clusters. Managing clusters via pools is also not optimal.The proposal is to introduce fleets for provisioning and managing instances and clusters of instances. Fleets are to be provisioned with
dstack apply
. Here's whatfleet
configuration will look like: