Skip to content

Commit de5f3e6

Browse files
authored
Docs: Update GEP-1294 to document ServiceImport as backendRef (#4185) (#4186)
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
1 parent 06b0533 commit de5f3e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

geps/gep-1294/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ Implementations SHOULD support the default [`ClusterIP`](https://kubernetes.io/d
9696

9797
Services supported as `backendRefs` SHOULD be consistent with expectations for North/South Gateway API implementations, and MUST have associated endpoints. `ClusterIP` `Services` with selectors SHOULD be supported as a `backendRef`.
9898

99+
#### `ServiceImport` as `backendRef`
100+
101+
Implementations that support [GEP-1748: Gateway API Interaction with Multi-Cluster Services](../gep-1748/index.md) MAY allow `ServiceImport` to be used as a `backendRef`. When supported, the semantics MUST follow GEP-1748. Headless `ServiceImport` is out of scope and not currently a part of the spec.
102+
99103
#### `Service` without selectors
100104

101105
An alternate pattern additionally supported by this approach would be to target a `Service` without selectors as the `parentRef`. This could be a clean way to create a pure routing construct and abstract a logical frontend, as traffic would resolve to a `backendRef` `Service` with selectors defined on the `HTTPRoute`, or receive a 4xx/5xx error response if no matching path or valid backend was found.

0 commit comments

Comments
 (0)