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

buildkitd: add grpc.health.v1.Health service #4145

Merged
merged 1 commit into from
Aug 16, 2023

Conversation

jedevc
Copy link
Member

@jedevc jedevc commented Aug 14, 2023

Fixes #3591.

Buildkitd now supports a health service:

$ grpcurl -plaintext localhost:1234 list
...
grpc.health.v1.Health
...

Which can be used to implement a lightweight health check on the running server:

$ grpcurl -plaintext localhost:1234 grpc.health.v1.Health/Check
{
  "status": "SERVING"
}

buildkitd now supports a health service:

	$ grpcurl -plaintext localhost:1234 list
	...
	grpc.health.v1.Health
	...

Which can be used to implement a lightweight health check on the running
server:

	$ grpcurl -plaintext localhost:1234 grpc.health.v1.Health/Check
	{
	  "status": "SERVING"
	}

Signed-off-by: Justin Chadwell <[email protected]>
@jedevc jedevc requested a review from tonistiigi August 14, 2023 14:59
@jedevc
Copy link
Member Author

jedevc commented Aug 14, 2023

cc @AkihiroSuda @sipsma, seems to be similar in style to #3790.

@jedevc jedevc requested a review from crazy-max August 16, 2023 09:23
@jedevc jedevc merged commit 998c26a into moby:master Aug 16, 2023
@jedevc jedevc deleted the grpc-healthcheck branch August 16, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

readiness and liveness probes
2 participants