Skip to content

Conversation

jjacque
Copy link
Owner

@jjacque jjacque commented Sep 16, 2022

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 traefik#6027

More

  • updated healthcheck tests: added TestSetGrpcBackendsConfiguration
  • updated routing/services documentation to reflect the changes (usage of the dedicated mode option in healthcheck)

Additional Notes

This is probably a naive implementation, any help / comment is welcome !
PS: most changes are related to tests (192+ / 2-)

@ldez ldez force-pushed the grpc/check branch 10 times, most recently from dbcd0e6 to e4a8ac6 Compare September 19, 2022 08:37
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.

8 participants