kingluo commented on issue #9240:
URL: https://github.com/apache/apisix/issues/9240#issuecomment-1503406516
@FlyTOmeLight Try ApisixRoute without ApisixUpstream, specify the port
directly.
```yaml
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: foo-bar-route
spec:
http:
- name: foo
match:
hosts:
- foo.com
paths:
- "/foo/*"
backends:
- serviceName: foo
servicePort: 80
```
@tao12345666333 any idea about ApisixUpstream for multi-ports 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]