dubbo-admin-0.0.4mesh路由不生效
- [ ] I have searched the issues of this repository and believe that this is not a duplicate.
- [ ] I have checked the REAMDE of this repository and believe that this is not a duplicate.
Environment
- Dubbo Admin version: 0.0.4
- Registry center detail (type and version): nacos 2.0.3
- Operating System version: win11
- Java version: 11
Steps to reproduce this issue
- mesh路由规则
apiVersion: service.dubbo.apache.org/v1alpha1
kind: DestinationRule
metadata: { name: idp-ods-service/DestinationRule }
spec:
host: idp-ods-service
subsets:
- labels: { servicetag: dataSyn } name: dataSynLabel
- labels: { servicetag: public } name: publicLabel trafficPolicy: loadBalancer: { simple: ROUND_ROBIN }
apiVersion: service.dubbo.apache.org/v1alpha1 kind: VirtualService metadata: {name: idp-ods-service/StandardRouter} spec: dubbo: - routedetail: - match: - sourceLabels: {servicetag: dataSyn} name: dataSynRoutDetail route: - destination: {host: idp-ods-service, subset: dataSyn} - match: - sourceLabels: {servicetag: public} name: publicRoutDetail route: - destination: {host: idp-ods-service, subset: public} hosts: [idp-ods-service] 2. provider配置信息 dubbo: application: parameters: servicetag: dataSyn config-center: address: nacos://127.0.0.1:8848 group: DEFAULT_GROUP namespace: 76e70258-7bdc-465a-b646-5ddcea6de5ad config-file: dubbo.properties protocol: nacos provider: threads: 200 threadpool: fixed loadbalance: roundrobin server: netty4 3. consumer配置信息 dubbo: application: parameters: servicetag: public config-center: address: nacos://127.0.0.1:8848 group: DEFAULT_GROUP namespace: 76e70258-7bdc-465a-b646-5ddcea6de5ad config-file: dubbo.properties protocol: nacos provider: threads: 200 threadpool: fixed loadbalance: roundrobin server: netty4 4. dubbo.properties信息 dubbo.registry.address=nacos://127.0.0.1:8848?namespace=36f31d90-18a7-4138-940a-c3ef00078ed0 dubbo.registry.group=DEFAULT_GROUP dubbo.registry.simplified=false dubbo.registry.parameters[registry-type]=service dubbo.metadata-report.address=nacos://127.0.0.1:8848?namespace=91eab0a1-2c05-4bd9-ab67-a6a3f2ba98f3 dubbo.metadata-report.group=DEFAULT_GROUP
Pls. provide [GitHub address] to reproduce this issue.
Expected Result
按理说consumer的servicetag=public,provider启动时注册的servicetag=dataSyn,从servicetag=public的调用应该不会被servicetag的provider接收才对,感觉没有限制注
Actual Result
实际上从consumer servicetag=public来的调用可以正常被provider servicetag=dataSyn接收并调用 请大神帮忙看看是否配置有问题
If there is an exception, please attach the exception trace:
Just put your stack trace here!