dstack icon indicating copy to clipboard operation
dstack copied to clipboard

[UX] Change the default `creation_policy` from `reuse_or_create` to `reuse`

Open peterschmidt85 opened this issue 1 year ago • 1 comments

Based on experience of using dstack apply, realized that creation of new fleets should always be explicit. By default, dstack should use the existing fleets. This makes it more predictable and much easier to explain.

To ensure the transition for existing users, in case dstack appy cannot find capacity and the no creation policy is specified, show a message: e.g.

Pass `--reuse_or_create` to ` dstack appy` or set `creation_policy` to `reuse_or_create` in the configuration."

peterschmidt85 avatar Jul 31 '24 13:07 peterschmidt85

The only problem with this so far is that we have backends that do not support fleets, incl. RunPod, Kubernetes, Vast.ai

peterschmidt85 avatar Aug 02 '24 08:08 peterschmidt85

@peterschmidt85, I suggest we close this for now.

r4victor avatar Dec 20 '24 11:12 r4victor