You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "carefree666 (via GitHub)" <gi...@apache.org> on 2025/12/01 02:26:54 UTC

Re: [I] request help: Standalone API-driven mode + Gateway API: TCPRoute / stream proxy does not work [apisix-ingress-controller]

carefree666 commented on issue #2665:
URL: https://github.com/apache/apisix-ingress-controller/issues/2665#issuecomment-3594263146

   > > Does Standalone mode support TCP/UDP (stream) routes
   > 
   > It should. This doc has some instructions for proxying TCP traffic (switch to the IC tab for details) that I have tested on Oct 29 with RC5 started in standalone mode. https://docs.api7.ai/apisix/how-to-guide/traffic-management/proxy-transport-layer-l4-traffic
   > 
   > I have not run into the error msg you described above (looks like they are standalone mode related). I will leave this to [@bzp2010](https://github.com/bzp2010) .
   
   
   I found the root cause.
   The apisix ConfigMap in the ingress-apisix namespace was still configured with:
   
   proxy_mode: http
   
   
   After changing it to:
   
   proxy_mode: http&stream
   
   
   and restarting APISIX, the TCP routing started working correctly.
   
   One more question:
   What is the recommended way to proxy TCP traffic for Services located in other namespaces?
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org