diwenzheng commented on issue #1147:
URL: 
https://github.com/apache/servicecomb-service-center/issues/1147#issuecomment-908828940


   > service 
center链接etcd,所以只需要把etcd组成集群即可,另外因为通信走的etcdv3,所以发现的时候会自动发现etcd每个member的节点,因此配VIP或者lb是没用的
   > 
   > 看下etcd client的源码 有个Sync函数
   
   
我们用的是etcd的集群,只不过是swarm部署,网络走的是docker的网络,意思这种方式下对于etcd的连接会不稳定?这种部署形态和k8s差不多.vip的理解是针对于swarm的内置的负载均衡的,service-center我们微服务连接的时候使用也是直接指向service-center的地址的,service-center的yaml是这样的
   
![image](https://user-images.githubusercontent.com/60613511/131427955-31418a76-31dd-4ec9-8fed-aefbb17c50e3.png)


-- 
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