Skip to content

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

Closed

Description

@peterschmidt85

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

Activity

  1. peterschmidt85 commented on Jan 9, 2025

    @peterschmidt85
    ContributorAuthor

    Can be related to #2180

  2. github-actions commented on Apr 13, 2025

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  3. self-assigned this
    on Jul 7, 2025
  4. r4victor commented on Aug 7, 2025

    @r4victor
    Collaborator

    @jvstme closing it?

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions