You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/10/09 09:14:09 UTC
[GitHub] [apisix-ingress-controller] cuibaiyi edited a comment on issue #704: request help: 请问 apisix ingress-controller 组件支持多命名空间下的 service 匹配吗?
cuibaiyi edited a comment on issue #704:
URL: https://github.com/apache/apisix-ingress-controller/issues/704#issuecomment-939262624
我想实现,一个路由匹配多个命名空间下的service进行负载。类似于如下配置的效果。
apiVersion: apisix.apache.org/v2beta1
kind: ApisixRoute
metadata:
name: demo-route
spec:
http:
- name: method
match:
paths:
- /
backends:
- serviceName: ads-service
namespace: adg1
servicePort: 80
weight: 90
- serviceName: ads-service
namespace: adg2
servicePort: 80
weight: 10
--
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