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]: Allow to configure a service healthcheck #2181

Open
peterschmidt85 opened this issue Jan 9, 2025 · 1 comment
Open

[Feature]: Allow to configure a service healthcheck #2181

peterschmidt85 opened this issue Jan 9, 2025 · 1 comment

Comments

@peterschmidt85
Copy link
Contributor

Problem

When running a service, I currently have to manually check the endpoint repeatedly to determine if it’s ready to handle requests (e.g. the model is loaded) or if there are any health issues. This is particularly critical for production-grade services.

Solution

  1. Add an option in the service configuration to define a URL that dstack can use to:
    a) Verify the service is up and healthy.
    b) Warm up the service.
  2. If the service does not pass the health check within the configured timeout, mark it as unhealthy.

Workaround

No response

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

Yes

@peterschmidt85
Copy link
Contributor Author

Can be related to #2180

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