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
{{ message }}
Repository navigation
Introduce Fleets for cluster provisioning and management #1327
Currently, dstack provides the dstack pool add command to provision cloud instances and the dstack 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 what fleet configuration will look like:
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.
Activity
peterschmidt85 commentedon Jun 12, 2024
type: instanceor cluster? :)r4victor commentedon Jun 13, 2024
I'd start with
instancesince it's whatdstack poolcurrently works with. We can discuss how dstack supposed to work with clusters in a separate issue: we could expandinstanceconfiguration to be able to provision multiple cluster nodes (may be as simple as specifyingnodes: 8) or introducing a separateclusterconfiguration.peterschmidt85 commentedon Jun 13, 2024
I wouldn't rush and at least discuss this before implementing.
[-]Support adding instances with `dstack apply`[/-][+]Introduce Fleets for cluster provisioning and management[/+]r4victor commentedon Jul 12, 2024
The description is updated to use
fleetconfiguration type.