bigfish02 commented on issue #2170:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/2170#issuecomment-1964025611

   Yes, apisix-ingress-controller does not support ingress with external 
service。But you can use apisixroute and apisixupstream to implement this. 
Example as follows:
   
   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: external-service
   spec:
     externalNodes:
     - type: Domain
       name: httpbin.org
   ---
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: external-ingress
   spec:
     http:
     - name: rule1
       match:
         hosts:
         - local.httpbin.org
         paths:
         - /*
       upstreams:
       - name: external-service
   ```
   


-- 
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