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

Coprocessor health check as part of overall router health #4874

Open
lleadbet opened this issue Mar 27, 2024 · 0 comments
Open

Coprocessor health check as part of overall router health #4874

lleadbet opened this issue Mar 27, 2024 · 0 comments

Comments

@lleadbet
Copy link
Contributor

Is your feature request related to a problem? Please describe.

The router currently fails closed if the coprocessor is unavailable/erroring/etc, which leads to situations where a router may be marked as healthy by it's own health check, but not by clients.

Describe the solution you'd like

Ideally coprocessors, when enabled, are used when calculating the overall health of the router. As an example shape of a possible config:

coprocessor:
  url: http://localhost:3000/
  healthcheck:
    enabled: true
    endpoint: "/health"

Which would use a user-defined health endpoint for the coprocessor.

Describe alternatives you've considered

Moving all health checks into the coprocessor instead, when running in a sidecar model (i.e. router and coprocessor exist in the same Kubernetes pod).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant