apache / apache/apisix-ingress-controller

feat request: Add support for cross-namespace backends to ApisixRoute

Open
#1,818 5 comments 0 reactions 0 assignees View on GitHub
discuss
Dominant language
Go
Stars
1.1k
Forks
390
Avg merge
3d 7h
Merged PRs (30d)
12

Description

### Description

For the apisixroute object in ingress-apisix, svc cannot support cross-namespace in the backend field. For example, the ns name is ait, the svc name is foo, and the svc address of backend is the configured foo.ait. In practice, 503 error occurs
In practical applications, whether due to pre-planning or other business reasons, some interrelated services are not placed in a namespace. However, the back-end of our site needs to access back-end interface addresses of different ns. I think configuration should be allowed

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing how ApisixRoute backend services are resolved and how Kubernetes namespaces are handled, then reproduce the described 503 with service foo in namespace ait. Determine the project entry points and tests for backend resolution. Done means an ApisixRoute can explicitly reach a service in another namespace without returning 503.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
api, backend, devops
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.