PasanBhanu commented on issue #9352:
URL: https://github.com/apache/apisix/issues/9352#issuecomment-2665634646

   @MaxChole I think you cannot replace kourier. But you can use apisix to 
route traffic to kourier and let it do the internal routing in knative. 
   
   The main challenge you will face is overriding the host header. Because 
kourier only works with host header for routing. 
   
   I'm working on a plugin to dynamically change the host header for upstream 
so it can change the host header before passing to kourier layer. 
   
   You can use proxy-rewrite plugin to either extract function name from url or 
a different header. 
   
   You can check the code here 
[https://github.com/PasanBhanu/apisix-knative-kourier-routing-plugin](https://github.com/PasanBhanu/apisix-knative-kourier-routing-plugin)


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to