gateway-api icon indicating copy to clipboard operation
gateway-api copied to clipboard

Clarifications for GAMMA routing

Open costinm opened this issue 6 months ago • 4 comments

GEP 1426 text about routes is:

" This is determined based on the ClusterIP (for Service) and ClusterSetIP (for ServiceImport) matching, and for "transparent proxy" mesh implementations would match all requests to foo.svc.cluster.local (or arbitrary custom suffix, as the hostname is not specified manually) from within the same namespace, all requests to foo.store.svc.cluster.local from other namespaces, and all requests to foo.store.svc.clusterset.local for multicluster services, within the scope of the service mesh."

It is a bit confusing: for Service it seems to imply that ONLY the ClusterIP can be used for routing decisions. Headless services would be excluded - and any request for NodePort or the LoadBalancerIP would not be allowed.

The second part 'transparent proxy' is also not very clear - it seems to allow hostname-based (standard) routing, but it is treated as a separate case - I read it as Service must use ClusterIP, ServiceImport ( which is not defined in the GEP as a parentRef !) would use ClusterSetIP - and the host header would be used for some other unspecified case.

costinm avatar Feb 26 '24 19:02 costinm