Skip to content

请问 我搭的eureka集群,为什么available-replicas是空的,但是服务间还是可以调通的,unavailable-replicas是有信息的反而?? #1

Description

@SoftwareKing

Q:请问 我搭的eureka集群,为什么available-replicas是空的,但是服务间还是可以调通的,unavailable-replicas是有信息的反而??

A:1、eureka自身要注册上 2、注册上之后会判断client配置的eureka的serviceUrl上的地址跟 注册信息上的hostName或者ipAddr是否一致,不一致的话,就会在unavailable-replicas上。
通常情况下,在容器部署的eureka,其外部ip跟内部ip通常不一样,也会有这类不一致的情况。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions