You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
spring cloud hoxton版本测试。需要满足各项目的spring.application.name或者eureka.instance.appname必须一致,且eureka.instance.prefer-ip-address设置为false。
参考 https://github.com/fxcjj/eureka-ha
Q:请问 我搭的eureka集群,为什么available-replicas是空的,但是服务间还是可以调通的,unavailable-replicas是有信息的反而??
A:1、eureka自身要注册上 2、注册上之后会判断client配置的eureka的serviceUrl上的地址跟 注册信息上的hostName或者ipAddr是否一致,不一致的话,就会在unavailable-replicas上。
通常情况下,在容器部署的eureka,其外部ip跟内部ip通常不一样,也会有这类不一致的情况。
The text was updated successfully, but these errors were encountered: