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

authorize: grpc health check #2200

Merged
merged 3 commits into from May 13, 2021
Merged

authorize: grpc health check #2200

merged 3 commits into from May 13, 2021

Conversation

wasaga
Copy link
Contributor

@wasaga wasaga commented May 13, 2021

Summary

Previously if multiple authorize endpoints are defined and one of them is down, it would continue receive traffic based on default round-robin request load balancing policy, that would result 1/n % of HTTP requests to fail.

This PR adds GRPC health check for pomerium-authorize GRPC cluster, that ensures reachability, and outlier detection that ensures authorize endpoint would be ejected if misconfigured.

Related issues

Fixes https://github.com/pomerium/internal/issues/399

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@wasaga wasaga added the bug Something isn't working label May 13, 2021
@wasaga wasaga requested a review from a team as a code owner May 13, 2021 15:16
@wasaga wasaga requested a review from calebdoxsey May 13, 2021 15:16
@codeclimate
Copy link

codeclimate bot commented May 13, 2021

Code Climate has analyzed commit dbbfc99 and detected 0 issues on this pull request.

View more on Code Climate.

@wasaga wasaga merged commit c71f7dc into master May 13, 2021
@wasaga wasaga deleted the wasaga/authz-health branch May 13, 2021 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants