Rolling deployment, Secrets, Files, Tenstorrent, and more
Thanks to feedback from the community, dstack
continues to evolve. Here’s a look at what’s new.
Rolling deployments
Previously, updating running services could cause downtime. The latest release fixes this with rolling deployments. Replicas are now updated one by one, allowing uninterrupted traffic during redeployments.
$ dstack apply -f .dstack.yml
Active run my-service already exists. Detected changes that can be updated in-place:
- Repo state (branch, commit, or other)
- File archives
- Configuration properties:
- env
- files
Update the run? [y/n]: y
⠋ Launching my-service...
NAME BACKEND PRICE STATUS SUBMITTED
my-service deployment=1 running 11 mins ago
replica=0 deployment=0 aws (us-west-2) $0.0026 terminating 11 mins ago
replica=1 deployment=1 aws (us-west-2) $0.0026 running 1 min ago