-
Notifications
You must be signed in to change notification settings - Fork 473
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
HTTPRouteServiceTypes Conformance Test Should Not Require EndpointSlices #3379
Comments
@danehans Is your implementation using Endpoints instead of EndpointSlices or something else entirely? |
@robscott yes, the implementation (Gloo Gateway) supports Endpoints. The project plans to support EndpointSlices with https://github.com/solo-io/solo-projects/issues/6910. |
Will let others comment here, but the Endpoints API was effectively deprecated before Gateway API began. I would rather document that we expect implementations to read from EndpointSlices than add conformance tests for Endpoints support. |
/cc @dprotaso |
Link 404s
To Rob's point EndpointSlices have been stable for 3 years and predates the Gateway API v1. The intent of the conformance test was to cover support for this functionality. For example Contour didn't support EndpointSlices until it added support for Gateway API v1.1
What K8s distro are you testing on? Oddly not setting that field didn't have affect when I did my testing. I did it on GKE. |
Thanks @robscott and @dprotaso for the feedback. I'm fine requiring EndpointSlices as long as it's documented in the spec so other implementations are not caught off guard.
I'm testing on kind. I think the key to my point is this section of the referenced doc:
Since the Services in the conformance test do not specify |
What happened:
My implementation is failing
v1.1.0
conformance tests because it does not use EndpointSlices. ThebackendRef
spec does not state that a Service must be backed by an EndpointSlice. Additionally, the HTTPRouteServiceTypes test attempts to model a dual stack Service by manually creating IPv4 and IPv6 EndpointSlices but.spec.ipFamilyPolicy=DualStack
is not specified which is inconsistent with the default behavior of this field.What you expected to happen:
The HTTPRouteServiceTypes conformance test to pass.
How to reproduce it (as minimally and precisely as possible):
N/A
Anything else we need to know?:
N/A
The text was updated successfully, but these errors were encountered: