-
Notifications
You must be signed in to change notification settings - Fork 112
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dubbo-xds not support WeightedCluster #271
Comments
@aamingaa PTAL |
怎么直接apply virtual.yml了,前面还有好几步呢,参考下下面的命令 |
1)我省略了前面Deployment和Service的部署,这几步肯定要做的。 |
这有一份proxyless下模式的virtualService.yml的配置文件,你对照着试一下?apache/dubbo-samples@master...aamingaa:dubbo-samples:test/xds_debug_3.2.0-beta.7-SNAPSHOT |
这个我也试了,不行。因为sidecar模式和proxyless模式,除了application.properties中几个配置项不一样以外。其他部署上是没有区别的(除了namespace不打标注入istioproxy以外),所以sidecar能通,proxyless我这边也不会部署有什么问题。 如果我没理解错的话,运行时通过PilotExchanger.getInstance().getEndpoints("dubbo-samples-xds-provider")应该能获取到provider的所有Endpoint,包括v1的和v2的,但是现在也获取不到。 |
Environment
Steps to reproduce this issue
1)use dubbo-samples/3-extensions/registry/dubbo-samples-xds
2)kubectl label pods -n dubbo-demo {podName1} version=v1 && kubectl label pods -n dubbo-demo {podName2} version=v2
3)kubectl apply -f VirtualService.yaml
Expected Behavior
consumer can find 2 invokers.
Actual Behavior
no invokers found.
The text was updated successfully, but these errors were encountered: