-
Notifications
You must be signed in to change notification settings - Fork 360
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
Question on active healthchecking to an internal service using an BackendTrafficPolicy #4863
Comments
here's an example of what the config looks like gateway/internal/gatewayapi/testdata/backendtrafficpolicy-with-healthcheck.in.yaml Line 151 in b9f9a9f
Docs are here; https://gateway.envoyproxy.io/docs/api/extension_types/#backendtrafficpolicyspec |
thanks for those references! I think I ended up on the API spec but not the first. To further elaborate: if I have three services all standing behind envoy gateway, if I follow that example and use So each service would need like a In this snippet for example
Are they not simply going to the same path once they're finally resolved in the envoy config? |
the |
so if I understand correctly, the healthcheck config will read, for the above examples for
Meaning they'll both go to |
Yes they'll go to the same server, but the decision on the backendRef may be different ( if settings are different) i.e. the policy is unique per policy per route rule |
Description:
Let's say I have an HTTP Route and BackendTrafficPolicy that look like the following
When I debug the generated config within envoy gateway, I see the following
And it leads to an error since the path
/healthcheck
is not exposed externally. I have a handful of questions[optional Relevant Links:]
Trying to follow: https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/health_checking
And: https://gateway.envoyproxy.io/v0.6/design/backend-traffic-policy/
The text was updated successfully, but these errors were encountered: