-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Labels
Description
Steps to reproduce
- Create an elastic fleet with
blocks: auto.
> cat fleets/default.dstack.yml
type: fleet
name: default
nodes: ..
blocks: auto
> dstack apply -f fleets/default.dstack.yml- Run a job on the fleet, so that it provisions an instance that could be divided into more than one block.
> cat .dstack.yml
type: dev-environment
ide: vscode
> dstack apply -b aws --fleet defaultActual behaviour
The provisioned instance is not divided into blocks.
> dstack fleet
FLEET INSTANCE BACKEND RESOURCES PRICE STATUS CREATED
default 0 aws (eu-west-3) cpu=2 mem=8GB disk=100GB (spot) $0.0292 busy 5 mins ago
> dstack fleet get default --json | jq '.instances[0].total_blocks'
1Expected behaviour
The provisioned instance is divided into blocks (in this example, 2 blocks).
dstack version
0.20.3
Server logs
Additional information
No response