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
Support gRPC healthcheck #8583
Support gRPC healthcheck #8583
Conversation
Hello, just curious about when a review is planned for this PR ? |
Hello @jjacque and thanks for your contribution, As you can see in our contribution guide, We will come back to you soon when we did the first design review iteration. |
Thanks a lot @kevinpollet, |
@kevinpollet I would like to know if supporting health checks for gRPC will be implemented in the future. Thanks 👯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution.
b69e39b
to
0a25d60
Compare
Hi @juliens , thanks for your review, i've made the changes you suggested and rebased the branch. |
18563a3
to
c739847
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
11afd2a
to
766589a
Compare
e4a8ac6
to
b7973d6
Compare
0b31c8b
to
6b8c133
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks 👍
Thanks !!! |
What does this PR do?
Add gRPC support to healthcheck (using "grpc" scheme in the backend config option). It's based on GRPC Health Checking Protocol v1
Motivation
We need to deploy gRPC apps that will not be immediately ready to serve data (populating caches, ...). This will allow Traefik to not route request to a "unhealthy" container.
See also #6027
More
TestSetGrpcBackendsConfiguration
Additional Notes
This is probably a naive implementation, any help / comment is welcome !
PS: most changes are related to tests (192+ / 2-)