Skip to content

[Improvement] Liveness check and health check #6527

Open
@youngyjd

Description

@youngyjd

What would you like to be improved?

In an ideal environment, we should have 2 type of checks:

  1. Liveness check: to determine if a container has started or not
  2. Readiness check: to determine if the container is ready to accept network traffic.

A real example - if db has not been init yet while we deploy the service, the liveness check should pass while the readiness check should fail.

Currently Gravitino has the api/version endpoint that is more suitable for liveness check. Is there an endpoint for readiness check?

How should we improve?

No response

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovements on everything

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions