Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: Zero-downtime in-place update for services #2180

Open
peterschmidt85 opened this issue Jan 9, 2025 · 0 comments
Open

[Feature]: Zero-downtime in-place update for services #2180

peterschmidt85 opened this issue Jan 9, 2025 · 0 comments

Comments

@peterschmidt85
Copy link
Contributor

Problem

Currently, when re-deploying a service (e.g., a newer version), dstack stops the existing run before submitting the new one. This causes a disruption, which is unacceptable for any production-grade service.

Solution

  1. Introduce a revision number for service replicas.
  2. During an in-place update, ensure that older replicas are only stopped once the newer replicas are successfully running.

Workaround

No response

Would you like to help us implement this feature by sending a PR?

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant