-
Is stream routes created via CRDs works well or am I missing something. Below is the route properly synced but does not work where data-plane says no route found. ` spec:
But creating route via Admin api works just fine
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Stream routes (TCP/UDP) are not supported via CRDs in the APISIX Ingress Controller as of now—even if your CRD syncs and shows "ResourcesAvailable," the route will not be active in the data-plane. This is a known limitation, confirmed in the official documentation and CRD reference, which state that stream routes must be configured using the Admin API or standalone file mode, not CRDs. The reason is architectural: the Ingress Controller manages HTTP routes, but stream routes use a separate subsystem that doesn't receive updates from CRDs (details). Recent updates have improved stream route support for Admin API and standalone mode (PR #12604), but CRD support is not included. For now, keep using the Admin API for stream routes. If you need to automate or manage these routes declaratively, consider using standalone file mode or monitor the project for future CRD support. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
Stream routes (TCP/UDP) are not supported via CRDs in the APISIX Ingress Controller as of now—even if your CRD syncs and shows "ResourcesAvailable," the route will not be active in the data-plane. This is a known limitation, confirmed in the official documentation and CRD reference, which state that stream routes must be configured using the Admin API or standalone file mode, not CRDs.
The reason is architectural: the Ingress Controller manages HTTP routes, but stream routes use a separate subsystem that doesn't receive updates from CRDs (details). Recent updates have improved stream route support for Admin API and standalone mode (PR #12604), but CRD support is not included.
For now, ke…