Skip to content

Add /healthz provider for liveness probing #219

@tiran

Description

@tiran

GET /healthz is a de-facto standard to check if a service is up, running and still healthy. A GET request to /healthz is used as liveness and readiness probe in Kubernetes and OpenShift. Custodia should have a path provider that supports /healthz w/o authentication (potentially limited to requests from localhost).

I suspect that /healthz won't work in the Unix socket case. Kubernetes / OpenShift only support TCP/IP checks. However the also support liveness scripts. A custodia-healthz script may do the trick.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions