MirtoBusico commented on issue #853:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/853#issuecomment-1030905233


   **SOLVED**
   
   Found solution at [Service Resolution 
Granularity](https://apisix.apache.org/docs/ingress-controller/concepts/apisix_route/)
   
   Adding
   ```
   resolveGranularity: service
   ```
   creates an upstream with the service address
   
   Now the route definition is
   ```
   apiVersion: apisix.apache.org/v2beta2
   kind: ApisixRoute
   metadata:
     name: productpage
   spec:
     http:
     - name: rule1
       match:
         hosts:
         - www2.m01.net
         paths:
         - /*
       backends:
       - serviceName: productpage
         servicePort: 9080
         resolveGranularity: 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