kubernetes-sigs / kubernetes-sigs/gateway-api
Add test and feature for extended backendRef ServiceImport
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 3k
- Forks
- 790
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 45
Description
We claim on our APIs that we support ServiceImport as an extended backendRef. Yet, we have zero tests about it nor a feature name.
My suggestion is that we define a new union feature for ServiceImport so an implementation that claims support for it MUST support it on all the routes it supports (HTTPRoute, GRPCRoute) or even as a filter backend (eg.: a mirror)
Then we need a conformance test to assure that the multi cluster cases works, and that implementations that claim support for it can operate correctly.
Some references:
- https://github.com/kubernetes-sigs/gateway-api/blob/bdb5c587ccf87478b608077763ed0958d83a616e/apis/v1/httproute_types.go#L295
- https://github.com/kubernetes-sigs/gateway-api/blob/bdb5c587ccf87478b608077763ed0958d83a616e/apis/v1/grpcroute_types.go#L632
- https://github.com/kubernetes-sigs/gateway-api/blob/bdb5c587ccf87478b608077763ed0958d83a616e/apis/v1/tlsroute_types.go#L145
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the referenced ServiceImport sections in apis/v1/httproute_types.go, apis/v1/grpcroute_types.go, and apis/v1/tlsroute_types.go, then find the existing feature definitions and conformance tests. Define the ServiceImport union feature and add coverage for multi-cluster use across HTTPRoute and GRPCRoute, including filter backends if supported by the scope.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, networking, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100