HTTP health check endpoint for Docker container? e.g. /healthz (ideally for gRPC API) #1874
-
How to do an HTTP health check against the SpiceDB in-memory docker image? I'm using the gRPC API (port 50051), but GitHub actions needs a way to health check the container. |
Beta Was this translation helpful? Give feedback.
Answered by
vroldanbet
Apr 22, 2024
Replies: 1 comment
-
@theronic if you are doing GitHub Actions, we recommend using https://github.com/authzed/action-spicedb SpiceDB does not expose an HTTP Health endpoint, it's using health/v1, the tool we typically use is https://github.com/grpc-ecosystem/grpc-health-probe, which the SpiceDB image ships with. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jzelinskie
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@theronic if you are doing GitHub Actions, we recommend using https://github.com/authzed/action-spicedb
SpiceDB does not expose an HTTP Health endpoint, it's using health/v1, the tool we typically use is https://github.com/grpc-ecosystem/grpc-health-probe, which the SpiceDB image ships with.